parent
9dd9f036c6
commit
ac8199bf60
|
@ -2545,15 +2545,15 @@ void DwarfDebug::emitDebugLoc() {
|
||||||
// Emit visible names into a debug aranges section.
|
// Emit visible names into a debug aranges section.
|
||||||
void DwarfDebug::emitDebugARanges() {
|
void DwarfDebug::emitDebugARanges() {
|
||||||
// Start the dwarf aranges section.
|
// Start the dwarf aranges section.
|
||||||
Asm->OutStreamer.SwitchSection(
|
Asm->OutStreamer
|
||||||
Asm->getObjFileLowering().getDwarfARangesSection());
|
.SwitchSection(Asm->getObjFileLowering().getDwarfARangesSection());
|
||||||
}
|
}
|
||||||
|
|
||||||
// Emit visible names into a debug ranges section.
|
// Emit visible names into a debug ranges section.
|
||||||
void DwarfDebug::emitDebugRanges() {
|
void DwarfDebug::emitDebugRanges() {
|
||||||
// Start the dwarf ranges section.
|
// Start the dwarf ranges section.
|
||||||
Asm->OutStreamer.SwitchSection(
|
Asm->OutStreamer
|
||||||
Asm->getObjFileLowering().getDwarfRangesSection());
|
.SwitchSection(Asm->getObjFileLowering().getDwarfRangesSection());
|
||||||
unsigned char Size = Asm->getDataLayout().getPointerSize();
|
unsigned char Size = Asm->getDataLayout().getPointerSize();
|
||||||
for (SmallVectorImpl<const MCSymbol *>::iterator
|
for (SmallVectorImpl<const MCSymbol *>::iterator
|
||||||
I = DebugRangeSymbols.begin(), E = DebugRangeSymbols.end();
|
I = DebugRangeSymbols.begin(), E = DebugRangeSymbols.end();
|
||||||
|
|
Loading…
Reference in New Issue