summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARFDebugLine.h
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2014-02-14 19:27:53 +0000
committerDiego Novillo <dnovillo@google.com>2014-02-14 19:27:53 +0000
commit5b5cf503b53ff103c9c0ecb735479366d79a47bf (patch)
tree59bf9ac85d7945b610df04f2c8049dde58b792c4 /llvm/lib/DebugInfo/DWARFDebugLine.h
parent4cdaa7d778e6b61df85a4b870b3b959cd40a5911 (diff)
downloadbcm5719-llvm-5b5cf503b53ff103c9c0ecb735479366d79a47bf.tar.gz
bcm5719-llvm-5b5cf503b53ff103c9c0ecb735479366d79a47bf.zip
Support DWARF discriminators in object streamer.
Summary: This adds support for emitting DWARF path discriminator values in the object streamer. It also changes the DWARF dumper to show discriminator values in the line table output. Reviewers: echristo CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2794 llvm-svn: 201427
Diffstat (limited to 'llvm/lib/DebugInfo/DWARFDebugLine.h')
-rw-r--r--llvm/lib/DebugInfo/DWARFDebugLine.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/DebugInfo/DWARFDebugLine.h b/llvm/lib/DebugInfo/DWARFDebugLine.h
index 2990756bd7c..9e93cc86dd2 100644
--- a/llvm/lib/DebugInfo/DWARFDebugLine.h
+++ b/llvm/lib/DebugInfo/DWARFDebugLine.h
@@ -112,6 +112,9 @@ public:
// An unsigned integer whose value encodes the applicable instruction set
// architecture for the current instruction.
uint8_t Isa;
+ // An unsigned integer representing the DWARF path discriminator value
+ // for this location.
+ uint32_t Discriminator;
// A boolean indicating that the current instruction is the beginning of a
// statement.
uint8_t IsStmt:1,
OpenPOWER on IntegriCloud