diff options
author | Eric Christopher <echristo@apple.com> | 2012-08-24 01:14:27 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-08-24 01:14:27 +0000 |
commit | 873cf0a0d7906083578d9b793008348750636138 (patch) | |
tree | 880a394475f2856680ba8ed1b6e5ac1dce18cc79 /lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | |
parent | 3887a902a1b8e5a6aad4fc822479845ce3ba0dfe (diff) | |
download | external_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.h | 3 |
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); |