forked from OSchip/llvm-project
[InstrProfiling][NFC] Initialize MadeChange variable
This addresses an issue introduced in 389dc94d4b
which triggers
a crash on Windows.
This commit is contained in:
parent
0988488ed4
commit
1c84167149
|
@ -556,7 +556,7 @@ bool InstrProfiling::run(
|
|||
UsedVars.clear();
|
||||
TT = Triple(M.getTargetTriple());
|
||||
|
||||
bool MadeChange;
|
||||
bool MadeChange = false;
|
||||
|
||||
// Emit the runtime hook even if no counters are present.
|
||||
if (needsRuntimeHookUnconditionally(TT))
|
||||
|
|
Loading…
Reference in New Issue