summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2016-03-08 16:17:48 +0000
committerManuel Klimek <klimek@google.com>2016-03-08 16:17:48 +0000
commit43a43079a6c19063b22c5d0f26bc25468e95f18e (patch)
tree13a76908f464970800db760d781f4101e6db9812 /llvm
parent288daa5bc6a038e925d5c8a099a0c12e5f870833 (diff)
downloadbcm5719-llvm-43a43079a6c19063b22c5d0f26bc25468e95f18e.tar.gz
bcm5719-llvm-43a43079a6c19063b22c5d0f26bc25468e95f18e.zip
Fix problem with uninitilialized bool found by asan.
llvm-svn: 262934
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/CodeGen/MachineFunction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineFunction.h b/llvm/include/llvm/CodeGen/MachineFunction.h
index 640f8dbc831..d1c09c672f2 100644
--- a/llvm/include/llvm/CodeGen/MachineFunction.h
+++ b/llvm/include/llvm/CodeGen/MachineFunction.h
@@ -149,7 +149,7 @@ class MachineFunction {
/// the attribute itself.
/// This is used to limit optimizations which cannot reason
/// about the control flow of such functions.
- bool ExposesReturnsTwice;
+ bool ExposesReturnsTwice = false;
/// True if the function includes any inline assembly.
bool HasInlineAsm;
OpenPOWER on IntegriCloud