Skip to content

Commit b8fa359

Browse files
ZuseZ4davidtwco
andauthored
Update compiler/rustc_codegen_llvm/src/back/write.rs
Co-authored-by: David Wood <[email protected]>
1 parent 23fd7b6 commit b8fa359

File tree

1 file changed

+1
-2
lines changed
  • compiler/rustc_codegen_llvm/src/back

1 file changed

+1
-2
lines changed

compiler/rustc_codegen_llvm/src/back/write.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -735,8 +735,7 @@ pub(crate) unsafe fn optimize(
735735
unsafe { llvm::LLVMWriteBitcodeToFile(llmod, out.as_ptr()) };
736736
}
737737

738-
// FIXME(ZuseZ4): In the following PR, we have to add code to apply the sanitize_hwaddress
739-
// attribute to all functions in the module, to prevent some illegal/unsupported optimizations.
738+
// FIXME(ZuseZ4): support SanitizeHWAddress and prevent illegal/unsupported opts
740739

741740
if let Some(opt_level) = config.opt_level {
742741
let opt_stage = match cgcx.lto {

0 commit comments

Comments
 (0)