]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #106811 - khuey:dwp_extension, r=davidtwco
authorMatthias Krüger <matthias.krueger@famsik.de>
Thu, 26 Jan 2023 06:53:23 +0000 (07:53 +0100)
committerGitHub <noreply@github.com>
Thu, 26 Jan 2023 06:53:23 +0000 (07:53 +0100)
Append .dwp to the binary filename instead of replacing the existing extension.

gdb et al. expect to find the dwp file at `<binary>`.dwp, even if <binary> already has an extension (e.g. libfoo.so's dwp is expected to be at libfoo.so.dwp).

1  2 
compiler/rustc_codegen_ssa/src/back/link.rs