diff options
author | Hongtao Yu <hoy@fb.com> | 2021-11-01 12:24:00 -0700 |
---|---|---|
committer | Hongtao Yu <hoy@fb.com> | 2021-11-01 21:24:33 -0700 |
commit | d137854412533d9c01c2ef9795ae6514a66c2d8b (patch) | |
tree | 72de9ead09215fda014e4189016d87a18027c103 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | 15361a98aa3ebf4a4903e418fe8d07fea7192368 (diff) | |
download | llvm-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