forked from OSchip/llvm-project
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
7cbba368fb
commit
6fb3e98eed
|
@ -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…
Reference in New Issue