aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorOCHyams <orlando.hyams@sony.com>2022-11-07 17:39:40 +0000
committerOCHyams <orlando.hyams@sony.com>2022-11-08 16:52:11 +0000
commit913b561c0a1d5817be7e2bc811a42bd4b9b6ff1e (patch)
tree86ab5e3c78078089379a34e9497b6bc2126e80ea /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parent322cf744b926a31986f78d74c79713e412cf811d (diff)
downloadllvm-913b561c0a1d5817be7e2bc811a42bd4b9b6ff1e.zip
llvm-913b561c0a1d5817be7e2bc811a42bd4b9b6ff1e.tar.gz
llvm-913b561c0a1d5817be7e2bc811a42bd4b9b6ff1e.tar.bz2
[Assignment Tracking][6/*] Add trackAssignments function
The Assignment Tracking debug-info feature is outlined in this RFC: https://discourse.llvm.org/t/ rfc-assignment-tracking-a-better-way-of-specifying-variable-locations-in-ir Add trackAssignments which adds assignment tracking metadata to a function for a specified set of variables. The intended callers are the inliner and the front end - those calls will be added in separate patches. I've added a pass called declare-to-assign (AssignmentTrackingPass) that converts dbg.declare intrinsics to dbg.assigns using trackAssignments so that the function can be easily tested (see llvm/test/DebugInfo/Generic/track-assignments.ll). The pass could also be used by front ends to easily test out enabling assignment tracking. Reviewed By: jmorse Differential Revision: https://reviews.llvm.org/D132225
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions