aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorHongtao Yu <hoy@fb.com>2021-11-01 12:24:00 -0700
committerHongtao Yu <hoy@fb.com>2021-11-01 21:24:33 -0700
commitd137854412533d9c01c2ef9795ae6514a66c2d8b (patch)
tree72de9ead09215fda014e4189016d87a18027c103 /llvm/lib/CodeGen/LiveDebugVariables.cpp
parent15361a98aa3ebf4a4903e418fe8d07fea7192368 (diff)
downloadllvm-d137854412533d9c01c2ef9795ae6514a66c2d8b.zip
llvm-d137854412533d9c01c2ef9795ae6514a66c2d8b.tar.gz
llvm-d137854412533d9c01c2ef9795ae6514a66c2d8b.tar.bz2
[SamplePGO] Fix callsite sample lookup to use dwarf names when dwarf linkage name isn't available.
When linkage name isn't available in dwarf (ususally the case of C code), looking up callee samples should be based on the dwarf name instead of using an empty string. Also fixing a test issue where using empty string to look up callee samples accidentally returns the correct samples because it is treated as indirect call. Reviewed By: wenlei Differential Revision: https://reviews.llvm.org/D112948
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions