summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-05-20 22:57:17 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-05-20 22:57:17 +0000
commit2b59a5fc6c82e5968a46e5412f495d6de48d2852 (patch)
treed75d67b79392a14e94acc3175eac48c671410368 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h
parent920e3af495df707e2cda94536d6bd63898baabc5 (diff)
downloadbcm5719-llvm-2b59a5fc6c82e5968a46e5412f495d6de48d2852.tar.gz
bcm5719-llvm-2b59a5fc6c82e5968a46e5412f495d6de48d2852.zip
Introduce DebugScope which gets embedded into the machine instructions' DebugLoc.
DebugScope refers to a debug region, function or block. llvm-svn: 72191
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h
index 578aa591ce6..0c9b317b5d0 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h
@@ -169,6 +169,8 @@ class SelectionDAGLowering {
/// CurDebugLoc - current file + line number. Changes as we build the DAG.
DebugLoc CurDebugLoc;
+ DebugScopeTracker DbgScopeTrack;
+
DenseMap<const Value*, SDValue> NodeMap;
/// PendingLoads - Loads are not emitted to the program immediately. We bunch
OpenPOWER on IntegriCloud