diff options
Diffstat (limited to 'lib/MC/MCMachOStreamer.cpp')
-rw-r--r-- | lib/MC/MCMachOStreamer.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/MC/MCMachOStreamer.cpp b/lib/MC/MCMachOStreamer.cpp index 67a144a341..3236432fb8 100644 --- a/lib/MC/MCMachOStreamer.cpp +++ b/lib/MC/MCMachOStreamer.cpp @@ -414,7 +414,10 @@ void MCMachOStreamer::Finish() { "__debug_line", MCSectionMachO::S_ATTR_DEBUG, 0, SectionKind::getDataRelLocal()); - MCDwarfFileTable::Emit(this, DwarfLineSection); + MCSectionData &DLS = + getAssembler().getOrCreateSectionData(*DwarfLineSection); + int PointerSize = getAssembler().getBackend().getPointerSize(); + MCDwarfFileTable::Emit(this, DwarfLineSection, &DLS, PointerSize); } // We have to set the fragment atom associations so we can relax properly for |