projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0988488
)
[InstrProfiling][NFC] Initialize MadeChange variable
author
Petr Hosek
<phosek@google.com>
Wed, 18 Aug 2021 06:31:50 +0000
(23:31 -0700)
committer
Petr Hosek
<phosek@google.com>
Wed, 18 Aug 2021 06:33:38 +0000
(23:33 -0700)
This addresses an issue introduced in
389dc94d4be7
which triggers
a crash on Windows.
llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
b/llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
index
36762d1
..
d2620fd
100644
(file)
--- a/
llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
+++ b/
llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
@@
-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))