forked from OSchip/llvm-project
Initialize SIInsertWaits::ExpInstrTypesSeen in the pass constructor.
This value may be used uninitialized in SIInsertWaits::insertWait. Found with MemorySanitizer. llvm-svn: 187869
This commit is contained in:
parent
98277bc93f
commit
bc8808ce4a
|
@ -98,7 +98,8 @@ public:
|
|||
SIInsertWaits(TargetMachine &tm) :
|
||||
MachineFunctionPass(ID),
|
||||
TII(0),
|
||||
TRI(0) { }
|
||||
TRI(0),
|
||||
ExpInstrTypesSeen(0) { }
|
||||
|
||||
virtual bool runOnMachineFunction(MachineFunction &MF);
|
||||
|
||||
|
|
Loading…
Reference in New Issue