aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
diff options
context:
space:
mode:
authorHongtao Yu <hoy@fb.com>2022-03-24 11:15:34 -0700
committerHongtao Yu <hoy@fb.com>2022-03-25 12:59:53 -0700
commite25f4e4c4a6df1d9f84e9506d2391fb0019bc941 (patch)
tree6bac671c963a2ea837962bbf7207df16ebad688b /llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
parent0e1e3ccc989af2ac274bc46e05e7f4c06b3f5e46 (diff)
downloadllvm-e25f4e4c4a6df1d9f84e9506d2391fb0019bc941.zip
llvm-e25f4e4c4a6df1d9f84e9506d2391fb0019bc941.tar.gz
llvm-e25f4e4c4a6df1d9f84e9506d2391fb0019bc941.tar.bz2
[PseudoProbe] Do not emit pseudo probes when module is not probed.
There is a case when a function has pseudo probe intrinsics but the module it resides does not have the probe desc. This could happen when the current module is not built with `-fpseudo-probe-for-profiling` while a function in it calls some other function from a probed module. In thinLTO mode, the callee function could be imported and inlined into the current function. While this is undefined behavior, I'm fixing the asm printer to not ICE and warn user about this. Reviewed By: wenlei Differential Revision: https://reviews.llvm.org/D121737
Diffstat (limited to 'llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions