aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorMaksim Panchenko <maks@fb.com>2023-11-09 09:55:49 -0800
committerGitHub <noreply@github.com>2023-11-09 09:55:49 -0800
commit11f52f783a64acef671a2b1648a40ba683ad4717 (patch)
treef6b7d59b65b0025f4a29d6aee71036b8e00719ec /clang/lib/CodeGen/CodeGenFunction.h
parent679cc16c99c74c485233febb8d5b77ec4a8f0290 (diff)
downloadllvm-11f52f783a64acef671a2b1648a40ba683ad4717.zip
llvm-11f52f783a64acef671a2b1648a40ba683ad4717.tar.gz
llvm-11f52f783a64acef671a2b1648a40ba683ad4717.tar.bz2
[BOLT][DWARF] Fix invalid address ranges (#71474)
When NOP instructions are removed by BOLT and a DWARF address range falls past the removed instructions, it may lead to invalid DWARF ranges in the output binary. E.g. the range may fall outside of the basic block boundaries. This fix makes sure the modified range fits within the containing basic block. A proper fix requires tracking instructions within the block and will come in a different PR.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions