1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

[ThinLTO] Fix uninitialized flags.

Found by msan. Patch by Adrian Kuegel!

llvm-svn: 265133
This commit is contained in:
Benjamin Kramer 2016-04-01 11:49:59 +00:00
parent 02a9d74413
commit 7cb557e97a

View File

@ -238,11 +238,11 @@ private:
/// Flag to enable/disable CodeGen. When set to true, the process stops after
/// optimizations and a bitcode is produced.
bool DisableCodeGen;
bool DisableCodeGen = false;
/// Flag to indicate that only the CodeGen will be performed, no cross-module
/// importing or optimization.
bool CodeGenOnly;
bool CodeGenOnly = false;
};
}
#endif