Skip to content

Commit

Permalink
keep profile-rt symbol alive
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry Jiang committed Dec 3, 2024
1 parent 8575f8f commit f4933ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compiler/rustc_codegen_ssa/src/back/linker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1694,6 +1694,8 @@ impl<'a> Linker for AixLinker<'a> {

fn pgo_gen(&mut self) {
self.link_arg("-bdbg:namedsects:ss");
self.link_arg("-u");
self.link_arg("__llvm_profile_runtime");
}

fn control_flow_guard(&mut self) {}
Expand Down

0 comments on commit f4933ff

Please sign in to comment.