debuginfo: Generate cross-crate unique type identifiers for debuginfo types.

With this change, rustc creates a unique type identifier for types in debuginfo. These type identifiers are used by LLVM to correctly handle link-time-optimization scenarios but also help rustc with dealing with inlining from other crates. For more information, see the documentation block at the top of librustc/middle/trans/debuginfo.rs.

Fixes #13681.
This commit is contained in:
Michael Woerister 2014-05-30 17:09:16 +02:00
parent c0a6f72e8b
commit 0a98a4e422
3 changed files with 706 additions and 139 deletions

File diff suppressed because it is too large Load diff