Skip to content

Commit

Permalink
Didn't mean to invert this boolean.
Browse files Browse the repository at this point in the history
  • Loading branch information
durin42 committed Nov 9, 2021
1 parent 6234a56 commit d440ce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ LLVMRustOptimizeWithNewPassManager(
AddressSanitizerOptions opts = AddressSanitizerOptions{
/*CompileKernel=*/false,
SanitizerOptions->SanitizeAddressRecover,
/*UseAfterScope=*/false,
/*UseAfterScope=*/true,
AsanDetectStackUseAfterReturnMode::Runtime,
};
MPM.addPass(ModuleAddressSanitizerPass(opts));
Expand Down

0 comments on commit d440ce6

Please sign in to comment.