[PATCH] D14963: [MCMachOStreamer] Properly reset CreatedADWARFSection
Keno Fischer via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 24 11:12:31 PST 2015
loladiro created this revision.
loladiro added a reviewer: rafael.
loladiro added a subscriber: llvm-commits.
loladiro set the repository for this revision to rL LLVM.
Without this, a PassManager can not be reused for multiple modules in a row when emitting debug info on MachO.
Repository:
rL LLVM
http://reviews.llvm.org/D14963
Files:
lib/MC/MCMachOStreamer.cpp
Index: lib/MC/MCMachOStreamer.cpp
===================================================================
--- lib/MC/MCMachOStreamer.cpp
+++ lib/MC/MCMachOStreamer.cpp
@@ -61,6 +61,7 @@
/// state management
void reset() override {
HasSectionLabel.clear();
+ CreatedADWARFSection = false;
MCObjectStreamer::reset();
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14963.41068.patch
Type: text/x-patch
Size: 337 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151124/ddc3900e/attachment.bin>
More information about the llvm-commits
mailing list