rust/src
Björn Steinbrink d17d2dd48e Workaround ODR violations in enum debuginfo
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-12 07:42:31 +02:00
..
compiler-rt@58ab642c30
compiletest Fix #27567: remove --crate-type=lib from pretty test 2015-08-11 13:00:38 +02:00
doc Rollup merge of #27611 - vincentbernat:fix/doc/chars-iterator, r=steveklabnik 2015-08-11 16:48:02 +05:30
driver
error-index-generator
etc
grammar rustc: rename multiple imports in a list 2015-08-08 11:54:15 -07:00
jemalloc@e24a1a025a
liballoc Replace many uses of mem::transmute with more specific functions 2015-08-09 22:05:22 +02:00
libarena Replace many uses of mem::transmute with more specific functions 2015-08-09 22:05:22 +02:00
libbacktrace
libcollections Change TODO to FIXME 2015-08-09 22:05:23 +02:00
libcollectionstest
libcore Rollup merge of #27612 - vincentbernat:fix/doc/iter-nth, r=steveklabnik 2015-08-11 16:48:02 +05:30
libcoretest Replace many uses of mem::transmute with more specific functions 2015-08-09 22:05:22 +02:00
libflate
libfmt_macros
libgetopts
libgraphviz
liblibc
liblog Replace many uses of mem::transmute with more specific functions 2015-08-09 22:05:22 +02:00
librand Replace many uses of mem::transmute with more specific functions 2015-08-09 22:05:22 +02:00
librbml
librustc Auto merge of #27584 - TimNN:macro-eof-span, r=huonw 2015-08-11 23:21:19 +00:00
librustc_back Rollup merge of #27647 - rust-lang:issue-27646, r=alexcrichton 2015-08-11 16:48:02 +05:30
librustc_bitflags
librustc_borrowck add long diagnostics for E0382 2015-08-08 20:17:03 +01:00
librustc_data_structures rename ADTDef to AdtDef etc. 2015-08-07 15:03:09 +03:00
librustc_driver Auto merge of #27458 - mitaa:local_cpath, r=nikomatsakis 2015-08-05 10:30:41 +00:00
librustc_lint Auto merge of #27575 - brson:lint, r=alexcrichton 2015-08-11 14:42:23 +00:00
librustc_llvm trans: Stop informing LLVM about dllexport 2015-08-10 18:20:42 -07:00
librustc_privacy Auto merge of #27451 - seanmonstar:use-groups-as, r=alexcrichton 2015-08-10 20:24:06 +00:00
librustc_resolve Auto merge of #27451 - seanmonstar:use-groups-as, r=alexcrichton 2015-08-10 20:24:06 +00:00
librustc_trans Workaround ODR violations in enum debuginfo 2015-08-12 07:42:31 +02:00
librustc_typeck add diagnostics for E0193 2015-08-09 16:45:56 +01:00
librustc_unicode Replace many uses of mem::transmute with more specific functions 2015-08-09 22:05:22 +02:00
librustdoc Auto merge of #27451 - seanmonstar:use-groups-as, r=alexcrichton 2015-08-10 20:24:06 +00:00
libserialize
libstd Rollup merge of #27651 - tshepang:patch-8, r=Gankro 2015-08-11 16:48:03 +05:30
libsyntax Auto merge of #27584 - TimNN:macro-eof-span, r=huonw 2015-08-11 23:21:19 +00:00
libterm
libtest Stabilize the Duration API 2015-08-10 20:04:18 -04:00
llvm@874dc4ee4c
rt Remove morestack support 2015-08-10 16:35:44 -07:00
rust-installer@c37d3747da
rustbook
rustllvm Remove morestack support 2015-08-10 16:35:44 -07:00
test Auto merge of #27584 - TimNN:macro-eof-span, r=huonw 2015-08-11 23:21:19 +00:00
snapshots.txt