projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sink DwarfUnit::LabelBegin down into DwarfCompileUnit since that's the only place...
[oota-llvm.git]
/
lib
/
CodeGen
/
AsmPrinter
/
DwarfUnit.h
diff --git
a/lib/CodeGen/AsmPrinter/DwarfUnit.h
b/lib/CodeGen/AsmPrinter/DwarfUnit.h
index 63fb79f0170b191676559d1284fa2c8f005b90ce..de43f8f507edf5dce0199e9a0eb641768ae17ac3 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfUnit.h
+++ b/
lib/CodeGen/AsmPrinter/DwarfUnit.h
@@
-129,12
+129,6
@@
protected:
/// The section this unit will be emitted in.
const MCSection *Section;
/// The section this unit will be emitted in.
const MCSection *Section;
- /// The start of the unit within its section.
- MCSymbol *LabelBegin;
-
- /// The end of the unit within its section.
- MCSymbol *LabelEnd;
-
DwarfUnit(unsigned UID, dwarf::Tag, DICompileUnit CU, AsmPrinter *A,
DwarfDebug *DW, DwarfFile *DWU);
DwarfUnit(unsigned UID, dwarf::Tag, DICompileUnit CU, AsmPrinter *A,
DwarfDebug *DW, DwarfFile *DWU);
@@
-147,16
+141,6
@@
public:
return Section;
}
return Section;
}
- MCSymbol *getLabelBegin() const {
- assert(Section);
- return LabelBegin;
- }
-
- MCSymbol *getLabelEnd() const {
- assert(Section);
- return LabelEnd;
- }
-
// Accessors.
unsigned getUniqueID() const { return UniqueID; }
uint16_t getLanguage() const { return CUNode.getLanguage(); }
// Accessors.
unsigned getUniqueID() const { return UniqueID; }
uint16_t getLanguage() const { return CUNode.getLanguage(); }