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 | 8c087da0281be24f5797d65a7f7b22e55cc4f57e (patch) | |
tree | 499a68b1fe787dd93f19b23139704bbd49fe808a /lib/CodeGen | |
parent | 3dd4e467465dac62e5e7de9968d0d9815c8e7455 (diff) | |
download | llvm-8c087da0281be24f5797d65a7f7b22e55cc4f57e.tar.gz llvm-8c087da0281be24f5797d65a7f7b22e55cc4f57e.tar.bz2 llvm-8c087da0281be24f5797d65a7f7b22e55cc4f57e.tar.xz |
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
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 12 | ||||
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.h | 3 |
2 files changed, 0 insertions, 15 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index e099acdc5a..a036a4d6f2 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/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/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h index 88a1d4e370..2eda0e883e 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/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(); |