mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-26 07:56:43 +00:00
Initialize CurSection in constructor.
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
This commit is contained in:
parent
44b8472add
commit
48de5d8fd0
@ -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