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:
1e02bf0
)
null streamer needs to maintain the current section as well.
author
Chris Lattner
<sabre@nondot.org>
Tue, 18 Aug 2009 16:46:29 +0000
(16:46 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 18 Aug 2009 16:46:29 +0000
(16:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79343
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/MC/MCNullStreamer.cpp
patch
|
blob
|
history
diff --git
a/lib/MC/MCNullStreamer.cpp
b/lib/MC/MCNullStreamer.cpp
index fcdd087e67ac4c1e0d07405e604f7fb9acbdd32e..61a9d49bcc989d6404d8f44f0d75029a42df57e7 100644
(file)
--- a/
lib/MC/MCNullStreamer.cpp
+++ b/
lib/MC/MCNullStreamer.cpp
@@
-26,7
+26,9
@@
namespace {
/// @name MCStreamer Interface
/// @{
- virtual void SwitchSection(const MCSection *Section) {}
+ virtual void SwitchSection(const MCSection *Section) {
+ CurSection = Section;
+ }
virtual void EmitLabel(MCSymbol *Symbol) {}