mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +01:00
[hwasan] Fix uninitialized DisableOptimization
This commit is contained in:
parent
f41dff2733
commit
b04b0cb1ff
@ -362,7 +362,8 @@ public:
|
||||
explicit HWAddressSanitizerLegacyPass(bool CompileKernel = false,
|
||||
bool Recover = false,
|
||||
bool DisableOptimization = false)
|
||||
: FunctionPass(ID), CompileKernel(CompileKernel), Recover(Recover) {
|
||||
: FunctionPass(ID), CompileKernel(CompileKernel), Recover(Recover),
|
||||
DisableOptimization(DisableOptimization) {
|
||||
initializeHWAddressSanitizerLegacyPassPass(
|
||||
*PassRegistry::getPassRegistry());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user