[llvm] r262999 - Fix uninitialized member bool. Detected by ASan.
Richard Trieu via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 8 22:31:25 PST 2016
Author: rtrieu
Date: Wed Mar 9 00:31:25 2016
New Revision: 262999
URL: http://llvm.org/viewvc/llvm-project?rev=262999&view=rev
Log:
Fix uninitialized member bool. Detected by ASan.
Modified:
llvm/trunk/include/llvm/CodeGen/MachineFunction.h
Modified: llvm/trunk/include/llvm/CodeGen/MachineFunction.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineFunction.h?rev=262999&r1=262998&r2=262999&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineFunction.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineFunction.h Wed Mar 9 00:31:25 2016
@@ -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;
More information about the llvm-commits
mailing list