Add symbol names that previously not recorded in BinaryFunction.
Test cases are updated accordingly.
Test Plan:
ninja check-bolt
Paths
| Differential D131139
[BOLT] Fix issue related to missing symbol name Needs ReviewPublic Authored by nhuhuan on Aug 3 2022, 9:43 PM.
Details
Diff Detail
Event Timeline
Revision Contents
Diff 449867 bolt/include/bolt/Core/BinaryFunction.h
bolt/lib/Rewrite/RewriteInstance.cpp
bolt/test/X86/split-func-icf.s
bolt/test/runtime/X86/fdata-escape-chars.ll
|
We need to avoid this breaking change.
Do we end up with way more alternative names than before for all symbols? Or does it only affect hand-written assembly tests, where main also gets the extra .text symbol? If it's the latter, we may avoid STT_SECTION symbols.