We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef32456 commit 9d71386Copy full SHA for 9d71386
compiler/rustc_codegen_ssa/src/back/linker.rs
@@ -1631,7 +1631,9 @@ impl<'a> Linker for AixLinker<'a> {
1631
1632
fn optimize(&mut self) {}
1633
1634
- fn pgo_gen(&mut self) {}
+ fn pgo_gen(&mut self) {
1635
+ self.cmd.arg("-bdbg:namedsects:ss");
1636
+ }
1637
1638
fn control_flow_guard(&mut self) {}
1639
library/profiler_builtins/build.rs
@@ -26,6 +26,7 @@ fn main() {
26
"InstrProfilingMerge.c",
27
"InstrProfilingMergeFile.c",
28
"InstrProfilingNameVar.c",
29
+ "InstrProfilingPlatformAIX.c",
30
"InstrProfilingPlatformDarwin.c",
31
"InstrProfilingPlatformFuchsia.c",
32
"InstrProfilingPlatformLinux.c",
0 commit comments