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 diagnostics: Resurrect the Compiler Error Index. 2015-06-20 16:57:40 +10:00
etc Update the ctags rules and targets. 2015-07-30 06:35:42 +10:00
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 'iff' for docs to 'if and only if' 2015-07-08 21:17:13 -05:00
libcollections Change TODO to FIXME 2015-08-09 22:05:23 +02:00
libcollectionstest implement Clone for Box<str>, closes #27323 2015-07-29 18:43:01 -07:00
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 Fallout in tests and docs from feature renamings 2015-06-17 09:07:16 -07:00
libfmt_macros Make the unused_mut lint smarter with respect to locals. 2015-07-01 00:12:12 +03:00
libgetopts Auto merge of #26957 - wesleywiser:rename_connect_to_join, r=alexcrichton 2015-07-12 22:05:59 +00:00
libgraphviz Show appropriate feature flags in docs 2015-07-27 12:28:13 -04:00
liblibc syntax: Implement #![no_core] 2015-08-03 17:23:01 -07:00
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 core: Split apart the global core feature 2015-06-17 09:06:59 -07:00
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 syntax: Implement #![no_core] 2015-08-03 17:23:01 -07:00
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 Auto merge of #26734 - Gankro:deprecate-vecmap, r=alexcrichton 2015-07-30 02:41:14 +00:00
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 std: Deprecate a number of unstable features 2015-07-27 16:38:25 -07:00
libtest Stabilize the Duration API 2015-08-10 20:04:18 -04:00
llvm@874dc4ee4c Update LLVM 2015-07-16 20:25:51 -07:00
rt Remove morestack support 2015-08-10 16:35:44 -07:00
rust-installer@c37d3747da Fix error message spans 2015-07-25 19:57:59 -07:00
rustbook Fix the relative path issue by including the files using include_bytes! 2015-07-27 20:46:01 +02:00
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 adds FreeBSD i686 snapshot 2015-07-31 11:58:38 -07:00