aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp
diff options
context:
space:
mode:
authorWei Mi <wmi@google.com>2021-03-12 11:34:56 -0800
committerWei Mi <wmi@google.com>2021-03-12 13:48:14 -0800
commitef9d7db72362b2df1237a87d5dc7dad6b0105df6 (patch)
tree9c316a5aa05293d4ea34543795465a5182051538 /llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp
parente9e788d145f57bcf815b9797191c1560ba39b842 (diff)
downloadllvm-ef9d7db72362b2df1237a87d5dc7dad6b0105df6.zip
llvm-ef9d7db72362b2df1237a87d5dc7dad6b0105df6.tar.gz
llvm-ef9d7db72362b2df1237a87d5dc7dad6b0105df6.tar.bz2
[IndirectCallPromotion] Recommit "Don't strip ".__uniq." suffix when it strips
".llvm." suffix". The recommit fixed a bug that symbols with "." at the beginning is not properly handled in the last commit. Original commit message: Currently IndirectCallPromotion simply strip everything after the first "." in LTO mode, in order to match the symbol name and the name with ".llvm." suffix in the value profile. However, if -funique-internal-linkage-names and thinlto are both enabled, the name may have both ".__uniq." suffix and ".llvm." suffix, and the current mechanism will strip them both, which is unexpected. The patch fixes the problem. Differential Revision: https://reviews.llvm.org/D98389
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp')
0 files changed, 0 insertions, 0 deletions