Not doing so causes some unittests to fail, because CurSection is uninitialized.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74442
91177308-0d34-0410-b5e6-
96231b3b80d8
public:
MCAsmStreamer(MCContext &Context, raw_ostream &_OS)
public:
MCAsmStreamer(MCContext &Context, raw_ostream &_OS)
- : MCStreamer(Context), OS(_OS) {}
+ : MCStreamer(Context), OS(_OS), CurSection(0) {}
~MCAsmStreamer() {}
/// @name MCStreamer Interface
~MCAsmStreamer() {}
/// @name MCStreamer Interface