summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-11-02 01:21:40 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-11-02 01:21:40 +0000
commitf4bdc31271977a9feaed4eb0d5aa413fbd2447ca (patch)
tree76f1d802c9c0634d0830cb78c78c61cade262106 /llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
parente3cfb6c7608be0ea99866e7881d0d795748962b4 (diff)
downloadbcm5719-llvm-f4bdc31271977a9feaed4eb0d5aa413fbd2447ca.tar.gz
bcm5719-llvm-f4bdc31271977a9feaed4eb0d5aa413fbd2447ca.zip
Sink DwarfUnit::LabelBegin down into DwarfCompileUnit since that's the only place it's needed.
llvm-svn: 221075
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
index feb7ffa125a..de43f8f507e 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
@@ -129,9 +129,6 @@ protected:
/// The section this unit will be emitted in.
const MCSection *Section;
- /// The start of the unit within its section.
- MCSymbol *LabelBegin;
-
DwarfUnit(unsigned UID, dwarf::Tag, DICompileUnit CU, AsmPrinter *A,
DwarfDebug *DW, DwarfFile *DWU);
@@ -144,11 +141,6 @@ public:
return Section;
}
- MCSymbol *getLabelBegin() const {
- assert(Section);
- return LabelBegin;
- }
-
// Accessors.
unsigned getUniqueID() const { return UniqueID; }
uint16_t getLanguage() const { return CUNode.getLanguage(); }
OpenPOWER on IntegriCloud