mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-21 19:36:59 +00:00
Initialize CurSection in constructor.
Not doing so causes some unittests to fail, because CurSection is uninitialized. llvm-svn: 74442
This commit is contained in:
parent
b60266824c
commit
28c47d108c
@ -25,7 +25,7 @@ namespace {
|
||||
|
||||
public:
|
||||
MCAsmStreamer(MCContext &Context, raw_ostream &_OS)
|
||||
: MCStreamer(Context), OS(_OS) {}
|
||||
: MCStreamer(Context), OS(_OS), CurSection(0) {}
|
||||
~MCAsmStreamer() {}
|
||||
|
||||
/// @name MCStreamer Interface
|
||||
|
Loading…
x
Reference in New Issue
Block a user