From: Richard Trieu Date: Wed, 9 Mar 2016 06:31:25 +0000 (+0000) Subject: Fix uninitialized member bool. Detected by ASan. X-Git-Tag: llvmorg-3.9.0-rc1~12195 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=af02b1ee0fe2863a8be8fac7c2623d9e1fde989d;p=platform%2Fupstream%2Fllvm.git Fix uninitialized member bool. Detected by ASan. llvm-svn: 262999 --- 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;