Fix uninitialized member bool. Detected by ASan.
authorRichard Trieu <rtrieu@google.com>
Wed, 9 Mar 2016 06:31:25 +0000 (06:31 +0000)
committerRichard Trieu <rtrieu@google.com>
Wed, 9 Mar 2016 06:31:25 +0000 (06:31 +0000)
llvm-svn: 262999

llvm/include/llvm/CodeGen/MachineFunction.h

index d1c09c6..89b2616 100644 (file)
@@ -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<PseudoSourceValueManager> PSVManager;