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{
/*CompileKernel=*/false,
SanitizerOptions->SanitizeAddressRecover,
/*UseAfterScope=*/false,
/*UseAfterScope=*/true,
AsanDetectStackUseAfterReturnMode::Runtime,
};
MPM.addPass(ModuleAddressSanitizerPass(opts));