[llvm] [BOLT] ICF: Use nameStartsWith instead of getName (PR #206999)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 2 04:38:56 PDT 2026
DmitriiMartynov wrote:
Here you can see that the address is the same for several symbols (including the vtable symbol).
```
readelf -sW tools/bolt/test/Output/safe-icf-relative-vtable.cpp.tmp.so | grep 2950
23: 0000000000002950 0 SECTION LOCAL DEFAULT 19 .data.rel.ro
31: 0000000000002950 0 NOTYPE LOCAL HIDDEN 18 __init_array_end
51: 0000000000002950 32 OBJECT WEAK DEFAULT 19 _ZTV2TT
```
https://github.com/llvm/llvm-project/pull/206999
More information about the llvm-commits
mailing list