aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
diff options
context:
space:
mode:
authorAmir Ayupov <aaupov@fb.com>2025-02-25 10:56:13 -0800
committerGitHub <noreply@github.com>2025-02-25 10:56:13 -0800
commitf5675243995dbca22319ed4c0665b3e46138285b (patch)
tree8fef1249d2a63857691729f054beca2bb3bc54ee /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
parent3968ebd00da80a08de84f83a101ebb23710f6631 (diff)
downloadllvm-f5675243995dbca22319ed4c0665b3e46138285b.zip
llvm-f5675243995dbca22319ed4c0665b3e46138285b.tar.gz
llvm-f5675243995dbca22319ed4c0665b3e46138285b.tar.bz2
[BOLT] Fix doTrace in BAT mode (#128546)
When processing BOLTed binaries with BAT section, we used to indiscriminately use `BAT->getFallthroughsInTrace` to record fall-throughs, even if the function is not covered by BAT. Fix that by using non-BAT CFG-based `getFallthroughsInTrace` if the function is not in BAT. Test Plan: updated bolt-address-translation-yaml.test
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions