summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-08-24 01:14:27 +0000
committerEric Christopher <echristo@apple.com>2012-08-24 01:14:27 +0000
commitbb69a27dbc86667a3d1dc3389a2c2bd086cffb2c (patch)
tree9c5ce0e92fc01555b5d80c7999ca7e10090b8b3e /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
parentd999bb7ff42fdd6204a7156647f76c55f4dbd1a5 (diff)
downloadbcm5719-llvm-bb69a27dbc86667a3d1dc3389a2c2bd086cffb2c.tar.gz
bcm5719-llvm-bb69a27dbc86667a3d1dc3389a2c2bd086cffb2c.zip
Use DW_FORM_flag_present to save space in debug information if we're
not in darwin gdb compat mode. Fixes rdar://10975088 llvm-svn: 162526
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
index b4ff9e8d69d..22401fe8fab 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
@@ -176,6 +176,9 @@ public:
}
public:
+ /// addFlag - Add a flag that is true to the DIE.
+ void addFlag(DIE *Die, unsigned Attribute);
+
/// addUInt - Add an unsigned integer attribute data and value.
///
void addUInt(DIE *Die, unsigned Attribute, unsigned Form, uint64_t Integer);
OpenPOWER on IntegriCloud