We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6234a56 commit d440ce6Copy full SHA for d440ce6
compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
@@ -893,7 +893,7 @@ LLVMRustOptimizeWithNewPassManager(
893
AddressSanitizerOptions opts = AddressSanitizerOptions{
894
/*CompileKernel=*/false,
895
SanitizerOptions->SanitizeAddressRecover,
896
- /*UseAfterScope=*/false,
+ /*UseAfterScope=*/true,
897
AsanDetectStackUseAfterReturnMode::Runtime,
898
};
899
MPM.addPass(ModuleAddressSanitizerPass(opts));
0 commit comments