aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-readobj/llvm-readobj.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2023-01-12 02:08:07 -0800
committerJohannes Doerfert <johannes@jdoerfert.de>2023-01-12 02:13:08 -0800
commit5d64ad85446b3edbc0c5bbae97809e28873f3161 (patch)
tree789ba3b4ad4a09e30802fe0b2eb78d7350d03a34 /llvm/tools/llvm-readobj/llvm-readobj.cpp
parent01e8e50ce397dcb08e7dfadab93a53ae31174c67 (diff)
downloadllvm-5d64ad85446b3edbc0c5bbae97809e28873f3161.zip
llvm-5d64ad85446b3edbc0c5bbae97809e28873f3161.tar.gz
llvm-5d64ad85446b3edbc0c5bbae97809e28873f3161.tar.bz2
[Attributor][FIX] Avoid creating accidental poison callees
Back with f3ad8cf00e213 we introduced a bug that caused us to skip callees when we replace uses. This is not sound since subsequent IR cleanup will assume replacement has happend. As such we created poison callees for a long while. The original intend of the check was to prevent call graph invalidation, however, we now properly check if the instructions (here the call) are inside the SCC or not.
Diffstat (limited to 'llvm/tools/llvm-readobj/llvm-readobj.cpp')
0 files changed, 0 insertions, 0 deletions