diff options
author | Eric Christopher <echristo@apple.com> | 2012-01-24 09:43:28 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-01-24 09:43:28 +0000 |
commit | 8a6983493595a896cfca8392a2676bf425349cee (patch) | |
tree | f9de2ec6ea456e48f0f8068b3214b7079ed6dcc9 /lib/CodeGen/AsmPrinter/DIE.cpp | |
parent | 9e631da253bff90d9da5ace21bd73f1c838e72eb (diff) | |
download | llvm-8a6983493595a896cfca8392a2676bf425349cee.tar.gz llvm-8a6983493595a896cfca8392a2676bf425349cee.tar.bz2 llvm-8a6983493595a896cfca8392a2676bf425349cee.tar.xz |
Remove generation of DW_AT_sibling. Nothing as far as I can tell uses it.
Saves about 1.5% on debug info size.
rdar://10278198
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148794 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DIE.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DIE.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/CodeGen/AsmPrinter/DIE.cpp b/lib/CodeGen/AsmPrinter/DIE.cpp index bc4125649c..331b07cbf3 100644 --- a/lib/CodeGen/AsmPrinter/DIE.cpp +++ b/lib/CodeGen/AsmPrinter/DIE.cpp @@ -112,15 +112,6 @@ DIE::~DIE() { delete Children[i]; } -/// addSiblingOffset - Add a sibling offset field to the front of the DIE. -/// -DIEValue *DIE::addSiblingOffset(BumpPtrAllocator &A) { - DIEInteger *DI = new (A) DIEInteger(0); - Values.insert(Values.begin(), DI); - Abbrev.AddFirstAttribute(dwarf::DW_AT_sibling, dwarf::DW_FORM_ref4); - return DI; -} - #ifndef NDEBUG void DIE::print(raw_ostream &O, unsigned IncIndent) { IndentCount += IncIndent; |