rust/src
bors 2f60268f54 Auto merge of #27689 - dotdash:die_odr, r=michaelwoerister
When using a generic enum type that was defined in an external crate,
our debuginfo currently claims that the concrete type (e.g. Option<i32>)
was defined in the current crate, where it was first used.

This means that if there are multiple crates that all use, for example,
Option<i32> values, they'll have conflicting debuginfo, each crate
claiming to have defined that type. This doesn't cause problems in
regular builds, but with LTO enabled, LLVM complains because it tries to
merge the debuginfo for those types and sees the ODR violations.

Since I couldn't find a way to get the file info for the external crate
that actually defined the enum, I'm working around the issue by using
"<unknown>" as the file for enum types. We'll want to re-visit and fix
this later, but this at least this fixes the ICE. And with the file
being unknown instead of wrong, the debuginfo isn't really worse than
before either.

Fixes #26447
2015-08-16 14:50:52 +00:00
..
compiler-rt@58ab642c30
compiletest
doc
driver
error-index-generator
etc
grammar
jemalloc@e24a1a025a
liballoc alloc: Add issues for all unstable features 2015-08-15 18:09:16 -07:00
liballoc_jemalloc test: Fix tests for requiring issues 2015-08-15 19:35:52 -07:00
liballoc_system test: Fix tests for requiring issues 2015-08-15 19:35:52 -07:00
libarena Add issue for the rustc_private feature everywhere 2015-08-15 18:09:17 -07:00
libbacktrace
libcollections collections: Add issues for unstable features 2015-08-15 18:09:17 -07:00
libcollectionstest
libcore std: Add issues to all unstable features 2015-08-15 18:09:17 -07:00
libcoretest
libflate Add issue for the rustc_private feature everywhere 2015-08-15 18:09:17 -07:00
libfmt_macros Add issue for the rustc_private feature everywhere 2015-08-15 18:09:17 -07:00
libgetopts Add issue for the rustc_private feature everywhere 2015-08-15 18:09:17 -07:00
libgraphviz Add issue for the rustc_private feature everywhere 2015-08-15 18:09:17 -07:00
liblibc libc,rand: Add issues for all unstable features 2015-08-15 18:09:16 -07:00
liblog Add issue for the rustc_private feature everywhere 2015-08-15 18:09:17 -07:00
librand libc,rand: Add issues for all unstable features 2015-08-15 18:09:16 -07:00
librbml Add issue for the rustc_private feature everywhere 2015-08-15 18:09:17 -07:00
librustc Auto merge of #27643 - mitaa:get_item_, r=arielb1 2015-08-16 12:14:29 +00:00
librustc_back Add issue for the rustc_private feature everywhere 2015-08-15 18:09:17 -07:00
librustc_bitflags Add issue for the rustc_private feature everywhere 2015-08-15 18:09:17 -07:00
librustc_borrowck Add issue for the rustc_private feature everywhere 2015-08-15 18:09:17 -07:00
librustc_data_structures Add issue for the rustc_private feature everywhere 2015-08-15 18:09:17 -07:00
librustc_driver Add issue for the rustc_private feature everywhere 2015-08-15 18:09:17 -07:00
librustc_lint Add issue for the rustc_private feature everywhere 2015-08-15 18:09:17 -07:00
librustc_llvm Add issue for the rustc_private feature everywhere 2015-08-15 18:09:17 -07:00
librustc_privacy Add issue for the rustc_private feature everywhere 2015-08-15 18:09:17 -07:00
librustc_resolve Add issue for the rustc_private feature everywhere 2015-08-15 18:09:17 -07:00
librustc_trans Auto merge of #27689 - dotdash:die_odr, r=michaelwoerister 2015-08-16 14:50:52 +00:00
librustc_typeck Add issue for the rustc_private feature everywhere 2015-08-15 18:09:17 -07:00
librustc_unicode Auto merge of #27853 - seckar:master, r=steveklabnik 2015-08-16 06:53:43 +00:00
librustdoc Auto merge of #27643 - mitaa:get_item_, r=arielb1 2015-08-16 12:14:29 +00:00
libserialize Add issue for the rustc_private feature everywhere 2015-08-15 18:09:17 -07:00
libstd test: Fix tests for requiring issues 2015-08-15 19:35:52 -07:00
libsyntax Auto merge of #27818 - alexcrichton:tag-all-the-issues, r=aturon 2015-08-16 05:10:23 +00:00
libterm Add issue for the rustc_private feature everywhere 2015-08-15 18:09:17 -07:00
libtest Add issue for the rustc_private feature everywhere 2015-08-15 18:09:17 -07:00
llvm@874dc4ee4c
rt
rust-installer@c37d3747da
rustbook
rustllvm
test test: Fix tests for requiring issues 2015-08-15 19:35:52 -07:00
snapshots.txt