Skip to content

Commit d440ce6

Browse files
committed
Didn't mean to invert this boolean.
1 parent 6234a56 commit d440ce6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ LLVMRustOptimizeWithNewPassManager(
893893
AddressSanitizerOptions opts = AddressSanitizerOptions{
894894
/*CompileKernel=*/false,
895895
SanitizerOptions->SanitizeAddressRecover,
896-
/*UseAfterScope=*/false,
896+
/*UseAfterScope=*/true,
897897
AsanDetectStackUseAfterReturnMode::Runtime,
898898
};
899899
MPM.addPass(ModuleAddressSanitizerPass(opts));

0 commit comments

Comments
 (0)