mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-21 03:28:31 +00:00
We never emit info into the macro info section, stop emitting an
empty one. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196849 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3dd4e46746
commit
8c087da028
@ -1180,9 +1180,6 @@ void DwarfDebug::endModule() {
|
||||
// Emit info into a debug ranges section.
|
||||
emitDebugRanges();
|
||||
|
||||
// Emit info into a debug macinfo section.
|
||||
emitDebugMacInfo();
|
||||
|
||||
if (useSplitDwarf()) {
|
||||
emitDebugStrDWO();
|
||||
emitDebugInfoDWO();
|
||||
@ -2941,15 +2938,6 @@ void DwarfDebug::emitDebugRanges() {
|
||||
}
|
||||
}
|
||||
|
||||
// Emit visible names into a debug macinfo section.
|
||||
void DwarfDebug::emitDebugMacInfo() {
|
||||
if (const MCSection *LineInfo =
|
||||
Asm->getObjFileLowering().getDwarfMacroInfoSection()) {
|
||||
// Start the dwarf macinfo section.
|
||||
Asm->OutStreamer.SwitchSection(LineInfo);
|
||||
}
|
||||
}
|
||||
|
||||
// DWARF5 Experimental Separate Dwarf emitters.
|
||||
|
||||
// This DIE has the following attributes: DW_AT_comp_dir, DW_AT_stmt_list,
|
||||
|
@ -587,9 +587,6 @@ class DwarfDebug : public AsmPrinterHandler {
|
||||
/// \brief Emit visible names into a debug ranges section.
|
||||
void emitDebugRanges();
|
||||
|
||||
/// \brief Emit visible names into a debug macinfo section.
|
||||
void emitDebugMacInfo();
|
||||
|
||||
/// \brief Emit inline info using custom format.
|
||||
void emitDebugInlineInfo();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user