aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2020-09-08 13:39:52 -0700
committerVedant Kumar <vsk@apple.com>2020-09-24 15:00:04 -0700
commitdfc5a9eb57aaaac972764bf731503419284bd3dc (patch)
tree9b9931297530bb707e7f7be6024f697b625e2332 /clang/lib/CodeGen/CodeGenFunction.cpp
parent1c5a3c4d382353e582ecf4913e338599028e267f (diff)
downloadllvm-dfc5a9eb57aaaac972764bf731503419284bd3dc.zip
llvm-dfc5a9eb57aaaac972764bf731503419284bd3dc.tar.gz
llvm-dfc5a9eb57aaaac972764bf731503419284bd3dc.tar.bz2
[Instruction] Add dropLocation and updateLocationAfterHoist helpers
Introduce a helper which can be used to update the debug location of an Instruction after the instruction is hoisted. This can be used to safely drop a source location as recommended by the docs. For more context, see the discussion in https://reviews.llvm.org/D60913. Differential Revision: https://reviews.llvm.org/D85670
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions