1
Fork 0

Didn't mean to invert this boolean.

This commit is contained in:
Augie Fackler 2021-11-04 18:08:32 -04:00
parent 6234a56949
commit d440ce6a9f

View file

@ -893,7 +893,7 @@ LLVMRustOptimizeWithNewPassManager(
AddressSanitizerOptions opts = AddressSanitizerOptions{ AddressSanitizerOptions opts = AddressSanitizerOptions{
/*CompileKernel=*/false, /*CompileKernel=*/false,
SanitizerOptions->SanitizeAddressRecover, SanitizerOptions->SanitizeAddressRecover,
/*UseAfterScope=*/false, /*UseAfterScope=*/true,
AsanDetectStackUseAfterReturnMode::Runtime, AsanDetectStackUseAfterReturnMode::Runtime,
}; };
MPM.addPass(ModuleAddressSanitizerPass(opts)); MPM.addPass(ModuleAddressSanitizerPass(opts));