[llvm] r262934 - Fix problem with uninitilialized bool found by asan.
Manuel Klimek via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 8 08:17:48 PST 2016
Author: klimek
Date: Tue Mar 8 10:17:48 2016
New Revision: 262934
URL: http://llvm.org/viewvc/llvm-project?rev=262934&view=rev
Log:
Fix problem with uninitilialized bool found 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=262934&r1=262933&r2=262934&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineFunction.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineFunction.h Tue Mar 8 10:17:48 2016
@@ -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;
More information about the llvm-commits
mailing list