mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +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,
|
explicit HWAddressSanitizerLegacyPass(bool CompileKernel = false,
|
||||||
bool Recover = false,
|
bool Recover = false,
|
||||||
bool DisableOptimization = false)
|
bool DisableOptimization = false)
|
||||||
: FunctionPass(ID), CompileKernel(CompileKernel), Recover(Recover) {
|
: FunctionPass(ID), CompileKernel(CompileKernel), Recover(Recover),
|
||||||
|
DisableOptimization(DisableOptimization) {
|
||||||
initializeHWAddressSanitizerLegacyPassPass(
|
initializeHWAddressSanitizerLegacyPassPass(
|
||||||
*PassRegistry::getPassRegistry());
|
*PassRegistry::getPassRegistry());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user