projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add support for the .zero directive.
[oota-llvm.git]
/
lib
/
MC
/
MCObjectStreamer.cpp
diff --git
a/lib/MC/MCObjectStreamer.cpp
b/lib/MC/MCObjectStreamer.cpp
index eed4e7bd4f67db91af1400cef2cdf0d76bbc09d0..2b2385ef9156d8b89fb27f002f3630ec8c3f91e1 100644
(file)
--- a/
lib/MC/MCObjectStreamer.cpp
+++ b/
lib/MC/MCObjectStreamer.cpp
@@
-77,6
+77,7
@@
void MCObjectStreamer::SwitchSection(const MCSection *Section) {
// If already in this section, then this is a noop.
if (Section == CurSection) return;
+ PrevSection = CurSection;
CurSection = Section;
CurSectionData = &getAssembler().getOrCreateSectionData(*Section);
}