[llvm] r344839 - Add missed file from previous commit (r344838)

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 20 01:55:51 PDT 2018


Author: dblaikie
Date: Sat Oct 20 01:55:51 2018
New Revision: 344839

URL: http://llvm.org/viewvc/llvm-project?rev=344839&view=rev
Log:
Add missed file from previous commit (r344838)

Modified:
    llvm/trunk/lib/MC/MCObjectFileInfo.cpp

Modified: llvm/trunk/lib/MC/MCObjectFileInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCObjectFileInfo.cpp?rev=344839&r1=344838&r2=344839&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCObjectFileInfo.cpp (original)
+++ llvm/trunk/lib/MC/MCObjectFileInfo.cpp Sat Oct 20 01:55:51 2018
@@ -254,6 +254,9 @@ void MCObjectFileInfo::initMachOMCObject
   DwarfStrOffSection =
       Ctx->getMachOSection("__DWARF", "__debug_str_offs", MachO::S_ATTR_DEBUG,
                            SectionKind::getMetadata(), "section_str_off");
+  DwarfAddrSection =
+      Ctx->getMachOSection("__DWARF", "__debug_addr", MachO::S_ATTR_DEBUG,
+                           SectionKind::getMetadata(), "section_info");
   DwarfLocSection =
       Ctx->getMachOSection("__DWARF", "__debug_loc", MachO::S_ATTR_DEBUG,
                            SectionKind::getMetadata(), "section_debug_loc");




More information about the llvm-commits mailing list