aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/ErrorHandling.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2020-01-15 11:26:34 -0800
committerVedant Kumar <vsk@apple.com>2020-01-15 15:38:36 -0800
commit360abb7ee56f1524b6e2951a4fda36296d5b3582 (patch)
treee27ec6c9ac3879fd967ae25b3e6913838ff7c4f4 /llvm/lib/Support/ErrorHandling.cpp
parent711a17afaff276f816aca5dc4a68fae4e17a2c12 (diff)
downloadllvm-360abb7ee56f1524b6e2951a4fda36296d5b3582.zip
llvm-360abb7ee56f1524b6e2951a4fda36296d5b3582.tar.gz
llvm-360abb7ee56f1524b6e2951a4fda36296d5b3582.tar.bz2
[CodeExtractor] Transfer debug info to extracted function
After extracting, fix up debug info in both the old and new functions by 1) Pointing line locations and debug intrinsics to the new subprogram scope, and 2) Deleting intrinsics which point to values outside of the new function. Depends on https://reviews.llvm.org/D72795. Testing: check-llvm, check-clang, a build of LNT in the `-Os -g` config with "-mllvm -hot-cold-split=1" set, and end-to-end debugging of a toy program which undergoes splitting to verify that lldb can find variables, single step, etc. in extracted code. rdar://45507940 Differential Revision: https://reviews.llvm.org/D72801
Diffstat (limited to 'llvm/lib/Support/ErrorHandling.cpp')
0 files changed, 0 insertions, 0 deletions