Skip to content

Commit 3957d3a

Browse files
author
Kai Luo
committed
Adjust debug info stripping
1 parent f116110 commit 3957d3a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

compiler/rustc_codegen_ssa/src/back/linker.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -1605,8 +1605,9 @@ impl<'a> Linker for AixLinker<'a> {
16051605
fn debuginfo(&mut self, strip: Strip, _: &[PathBuf]) {
16061606
match strip {
16071607
Strip::None => {}
1608-
Strip::Debuginfo => {}
1609-
Strip::Symbols => {
1608+
// FIXME: -s strips the symbol table, line number information
1609+
// and relocation information.
1610+
Strip::Debuginfo | Strip::Symbols => {
16101611
self.cmd.arg("-s");
16111612
}
16121613
}

0 commit comments

Comments
 (0)