From af02b1ee0fe2863a8be8fac7c2623d9e1fde989d Mon Sep 17 00:00:00 2001 From: Richard Trieu Date: Wed, 9 Mar 2016 06:31:25 +0000 Subject: [PATCH] Fix uninitialized member bool. Detected by ASan. llvm-svn: 262999 --- llvm/include/llvm/CodeGen/MachineFunction.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/CodeGen/MachineFunction.h b/llvm/include/llvm/CodeGen/MachineFunction.h index d1c09c6..89b2616 100644 --- a/llvm/include/llvm/CodeGen/MachineFunction.h +++ b/llvm/include/llvm/CodeGen/MachineFunction.h @@ -152,7 +152,7 @@ class MachineFunction { bool ExposesReturnsTwice = false; /// True if the function includes any inline assembly. - bool HasInlineAsm; + bool HasInlineAsm = false; // Allocation management for pseudo source values. std::unique_ptr PSVManager; -- 2.7.4