mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-21 03:28:31 +00:00
DwarfDebug: Remove trivial function wrapper
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196445 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
98f52fa8d0
commit
acf6571d80
@ -2168,7 +2168,8 @@ void DwarfDebug::emitAbbreviations() {
|
|||||||
emitAbbrevs(Asm->getObjFileLowering().getDwarfAbbrevSection(),
|
emitAbbrevs(Asm->getObjFileLowering().getDwarfAbbrevSection(),
|
||||||
&Abbreviations);
|
&Abbreviations);
|
||||||
else
|
else
|
||||||
emitSkeletonAbbrevs(Asm->getObjFileLowering().getDwarfAbbrevSection());
|
emitAbbrevs(Asm->getObjFileLowering().getDwarfAbbrevSection(),
|
||||||
|
&SkeletonAbbrevs);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DwarfDebug::emitAbbrevs(const MCSection *Section,
|
void DwarfDebug::emitAbbrevs(const MCSection *Section,
|
||||||
@ -3019,11 +3020,6 @@ CompileUnit *DwarfDebug::constructSkeletonCU(const CompileUnit *CU) {
|
|||||||
return NewCU;
|
return NewCU;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DwarfDebug::emitSkeletonAbbrevs(const MCSection *Section) {
|
|
||||||
assert(useSplitDwarf() && "No split dwarf debug info?");
|
|
||||||
emitAbbrevs(Section, &SkeletonAbbrevs);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Emit the .debug_info.dwo section for separated dwarf. This contains the
|
// Emit the .debug_info.dwo section for separated dwarf. This contains the
|
||||||
// compile units that would normally be in debug_info.
|
// compile units that would normally be in debug_info.
|
||||||
void DwarfDebug::emitDebugInfoDWO() {
|
void DwarfDebug::emitDebugInfoDWO() {
|
||||||
|
@ -615,9 +615,6 @@ class DwarfDebug : public AsmPrinterHandler {
|
|||||||
/// section.
|
/// section.
|
||||||
CompileUnit *constructSkeletonCU(const CompileUnit *CU);
|
CompileUnit *constructSkeletonCU(const CompileUnit *CU);
|
||||||
|
|
||||||
/// \brief Emit the local split abbreviations.
|
|
||||||
void emitSkeletonAbbrevs(const MCSection *);
|
|
||||||
|
|
||||||
/// \brief Emit the debug info dwo section.
|
/// \brief Emit the debug info dwo section.
|
||||||
void emitDebugInfoDWO();
|
void emitDebugInfoDWO();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user