summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2017-12-08 23:32:47 +0000
committerAdrian Prantl <aprantl@apple.com>2017-12-08 23:32:47 +0000
commit01fb31cc89d3ce145f3cacd669981de5edd5de8d (patch)
tree7b4a7c803dfe70955aff3f39fabfdc12feed6a24 /llvm/include
parente29f50da4dacf15faa5c306c4196679b95bdb0bc (diff)
downloadbcm5719-llvm-01fb31cc89d3ce145f3cacd669981de5edd5de8d.tar.gz
bcm5719-llvm-01fb31cc89d3ce145f3cacd669981de5edd5de8d.zip
dwarfdump: Add support for the --diff option.
--diff Emit the output in a diff-friendly way by omitting offsets and addresses. <rdar://problem/34502625> llvm-svn: 320214
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/DebugInfo/DIContext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/include/llvm/DebugInfo/DIContext.h b/llvm/include/llvm/DebugInfo/DIContext.h
index 4a368bec85c..abace937860 100644
--- a/llvm/include/llvm/DebugInfo/DIContext.h
+++ b/llvm/include/llvm/DebugInfo/DIContext.h
@@ -153,6 +153,7 @@ enum DIDumpType : unsigned {
struct DIDumpOptions {
unsigned DumpType = DIDT_All;
unsigned RecurseDepth = -1U;
+ bool ShowAddresses = true;
bool ShowChildren = false;
bool ShowParents = false;
bool ShowForm = false;
OpenPOWER on IntegriCloud