mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 06:43:20 +03:00
ec1d458777
When we're adding a method to a type DIE, we only want a DW_AT_declaration
there, because LLVM LTO can't unify type definitions when a child DIE is a
full subprogram definition. Now the subprogram definition gets added at the
CU level with a specification link back to the abstract declaration.
(cherry picked from commit 10b69dde3f)