diff options
| author | Eric Christopher <echristo@gmail.com> | 2013-12-10 00:26:10 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@gmail.com> | 2013-12-10 00:26:10 +0000 |
| commit | b95d8573503b1527e4d6ebbb3f9a751f7b263c46 (patch) | |
| tree | bfd67bc9a1fbce91c822676b9b08d6d791564d4b /llvm/lib/CodeGen | |
| parent | 4df116053623eb03b59ee391a2276fe11234d9d1 (diff) | |
| download | bcm5719-llvm-b95d8573503b1527e4d6ebbb3f9a751f7b263c46.tar.gz bcm5719-llvm-b95d8573503b1527e4d6ebbb3f9a751f7b263c46.zip | |
We never emit info into the macro info section, stop emitting an
empty one.
llvm-svn: 196849
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 12 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | 3 |
2 files changed, 0 insertions, 15 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index e099acdc5a6..a036a4d6f28 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -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, diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h index 88a1d4e3700..2eda0e883ee 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -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(); |

