aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorDavid Stenberg <david.stenberg@ericsson.com>2024-10-15 22:34:27 +0200
committerGitHub <noreply@github.com>2024-10-15 13:34:27 -0700
commit97da5e670099848f7d136a6988afd6ea638e2210 (patch)
tree564093c800e75f5bfa87c1bda023f89526b3a6ba /clang/lib/CodeGen/CodeGenFunction.cpp
parent5f2cf99e146ce99d4e148038d9bdd012331b4821 (diff)
downloadllvm-97da5e670099848f7d136a6988afd6ea638e2210.zip
llvm-97da5e670099848f7d136a6988afd6ea638e2210.tar.gz
llvm-97da5e670099848f7d136a6988afd6ea638e2210.tar.bz2
[GSYM] Remove redundant getInliningInfoForAddress call (#111136)
In DwarfTransformer::verify() line number information is retrieved for each address using: auto DwarfInlineInfos = DICtx.getInliningInfoForAddress(SectAddr, DLIS); Later down the loop, another such invocation was made before: Gsym->dump(Log, *FI); There is a continue after that, DwarfInlineInfos do not affect the dump() invocation, I am not aware of any other side effects that is needed from the extra getInliningInfoForAddress() invocation, and tests pass without it, so just remove it.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions