projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a few vars that can end up being used without initialization.
[oota-llvm.git]
/
lib
/
Transforms
/
Instrumentation
/
AddressSanitizer.cpp
diff --git
a/lib/Transforms/Instrumentation/AddressSanitizer.cpp
b/lib/Transforms/Instrumentation/AddressSanitizer.cpp
index 0775cf4a224ea8fe2b6f1f5903ffc608efe08507..afa6a4b5e67ed2621a9517428e38acd4efb8ffc7 100644
(file)
--- a/
lib/Transforms/Instrumentation/AddressSanitizer.cpp
+++ b/
lib/Transforms/Instrumentation/AddressSanitizer.cpp
@@
-392,7
+392,7
@@
bool AddressSanitizer::HasDynamicInitializer(GlobalVariable *G) {
}
void AddressSanitizer::instrumentMop(AsanFunctionContext &AFC, Instruction *I) {
- bool IsWrite;
+ bool IsWrite
= false
;
Value *Addr = isInterestingMemoryAccess(I, &IsWrite);
assert(Addr);
if (ClOpt && ClOptGlobals) {