[llvm] [Linker] Do not keep a private member of a non-prevailing comdat group (PR #69143)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 27 17:13:29 PDT 2023


MaskRay wrote:

> int bar(int a);

`int bar(int a);` is unrelated to `foo.h`. The declaration can be moved to `main.cpp`

https://github.com/llvm/llvm-project/pull/69143


More information about the llvm-commits mailing list