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

Jinjie Huang via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 3 23:27:04 PDT 2026


Jinjie-Huang wrote:

> For one, we don't have a way to represent duplicate globals in symbolized profiles.

Would it be theoretically possible to uniquify them, similar to how BOLT already handles duplicate local symbols? But  this patch conservatively marks them as ignored for now, they don't appear in the generated profile(based on my tests).

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


More information about the llvm-commits mailing list