projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4231469
)
MC: Make sure to clear *all* of MCMachOStreamer's state
author
Justin Bogner
<mail@justinbogner.com>
Thu, 3 Dec 2015 00:52:20 +0000
(
00:52
+0000)
committer
Justin Bogner
<mail@justinbogner.com>
Thu, 3 Dec 2015 00:52:20 +0000
(
00:52
+0000)
The CreatedADWARFSection flag was added in r232842, but isn't cleared
properly when resetting the streamer's state. Fix that.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254571
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/MC/MCMachOStreamer.cpp
patch
|
blob
|
history
diff --git
a/lib/MC/MCMachOStreamer.cpp
b/lib/MC/MCMachOStreamer.cpp
index 52ecf9fcfbf3d64f98dfa6fb2f469a983b073e02..21f7571eec4a51d9a02473839b9ad2b272748075 100644
(file)
--- a/
lib/MC/MCMachOStreamer.cpp
+++ b/
lib/MC/MCMachOStreamer.cpp
@@
-60,6
+60,7
@@
public:
/// state management
void reset() override {
+ CreatedADWARFSection = false;
HasSectionLabel.clear();
MCObjectStreamer::reset();
}