[llvm] [BOLT] Ignore duplicate global symbols (PR #201082)
Amir Ayupov via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 3 22:50:14 PDT 2026
aaupov wrote:
I ran into the same issue but I believe BOLT is right to report an error in this case.
I don't know if duplicate global symbols constitute an UB, but this is conceptually similar to an ODR violation. At least, this is unspecified/implementation-defined behavior, and I'd avoid perpetuating it with BOLT. The fix belongs in the build configuration.
https://github.com/llvm/llvm-project/pull/201082
More information about the llvm-commits
mailing list