aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit873cf0a0d7906083578d9b793008348750636138 (patch)
tree880a394475f2856680ba8ed1b6e5ac1dce18cc79 /lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
parent3887a902a1b8e5a6aad4fc822479845ce3ba0dfe (diff)
downloadexternal_llvm-873cf0a0d7906083578d9b793008348750636138.zip
external_llvm-873cf0a0d7906083578d9b793008348750636138.tar.gz
external_llvm-873cf0a0d7906083578d9b793008348750636138.tar.bz2
Use DW_FORM_flag_present to save space in debug information if we're
not in darwin gdb compat mode. Fixes rdar://10975088 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162526 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfCompileUnit.h')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfCompileUnit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
index b4ff9e8..22401fe 100644
--- a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
+++ b/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);