[llvm] [BOLT] Ignore duplicate global symbols (PR #201082)

Jinjie Huang via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 4 02:37:12 PDT 2026


Jinjie-Huang wrote:

> 2\. Static archive with symver which gets stripped, resulting in duplicate global symbols in the executable – _BOLT should error out_.

@aaupov Does it sound reasonable to add a disabled-by-default option (add a comment that users must know what they are doing) to enable the skipping? And this would help us get the BOLT optimization working for our executable scenarios.


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


More information about the llvm-commits mailing list