rust/src
Manish Goregaokar 34ab88e30b Rollup merge of #22385 - dotdash:slice_by_val_copy, r=nikomatsakis
When matching against strings/slices, we call the comparison function
for strings, which takes two string slices by value. The slices are
passed in memory, and currently we just pass in a pointer to the
original slice. That can cause misoptimizations because we emit a call
to llvm.lifetime.end for all by-value arguments at the end of a
function, which in this case marks the original slice as dead.

So we need to properly create copies of the slices to pass them to the
comparison function.

Fixes #22008
2015-02-17 17:33:17 +05:30
..
compiler-rt@58ab642c30
compiletest Fix rollup (remove slicing_syntax) 2015-02-15 19:26:39 +05:30
doc Rollup merge of #22333 - caipre:patch-1, r=steveklabnik 2015-02-17 17:33:17 +05:30
driver
etc Rollup merge of #22420 - posixphreak:fix-rustup-locale, r=brson 2015-02-17 06:25:21 +05:30
grammar Bison grammar: fix precedence with ranges followed by blocks 2015-02-10 17:59:02 -08:00
jemalloc@b001609960
liballoc Feature-gate the #[unsafe_no_drop_flag] attribute. 2015-02-11 13:57:40 +01:00
libarena Added lifetime param to Arena. 2015-02-11 13:51:21 +01:00
libbacktrace
libcollections Rollup merge of #22394 - alexcrichton:vec-from-iter-comment, r=brson 2015-02-17 06:23:42 +05:30
libcore Rollup merge of #22232 - alexcrichton:missing-fmt-stability, r=aturon 2015-02-17 15:41:30 +05:30
libcoretest Fix rollup (remove slicing_syntax) 2015-02-15 19:26:39 +05:30
libflate Add core::marker::PhantomData. 2015-02-11 13:51:09 +01:00
libfmt_macros Fix rollup (remove slicing_syntax) 2015-02-15 19:26:39 +05:30
libgetopts Fix rollup (remove slicing_syntax) 2015-02-15 19:26:39 +05:30
libgraphviz Fix rollup (remove slicing_syntax) 2015-02-15 19:26:39 +05:30
liblibc Updated darwin types 2015-02-12 18:05:51 +02:00
liblog Fix rollup (remove slicing_syntax) 2015-02-15 19:26:39 +05:30
librand tests: work around #21721 some more by replacing some unit types with [u8; 0]. 2015-02-16 17:13:48 +02:00
librbml Fix rollup (remove slicing_syntax) 2015-02-15 19:26:39 +05:30
librustc Rollup merge of #22282 - steveklabnik:gh5831, r=brson 2015-02-17 17:33:16 +05:30
librustc_back Rollup merge of #22297 - nagisa:spring-cleanup, r=alexcrichton 2015-02-15 18:42:47 +05:30
librustc_bitflags Feature-gate #![no_std] 2015-02-07 10:49:58 -08:00
librustc_borrowck Auto merge of #22126 - steveklabnik:gh21281, r=nikomatsakis 2015-02-15 07:53:07 +00:00
librustc_driver Rollup merge of #22241 - kmcallister:macro-plugin-cleanup, r=sfackler 2015-02-17 06:23:41 +05:30
librustc_llvm Rollup merge of #22416 - GuillaumeGomez:copy, r=eddyb 2015-02-17 06:25:34 +05:30
librustc_privacy Add comment noting that this naive approach is not too naive. 2015-02-10 15:45:36 +01:00
librustc_resolve Fix rollup (remove slicing_syntax) 2015-02-15 19:26:39 +05:30
librustc_trans Rollup merge of #22385 - dotdash:slice_by_val_copy, r=nikomatsakis 2015-02-17 17:33:17 +05:30
librustc_typeck Rollup merge of #22409 - nikomatsakis:stop-advertisting-old-impl-check, r=aturon 2015-02-17 06:25:55 +05:30
librustdoc Rollup merge of #22273 - nagisa:doc-deprecated, r=alexcrichton 2015-02-17 06:23:40 +05:30
libserialize Fix rollup (remove slicing_syntax) 2015-02-15 19:26:39 +05:30
libstd Auto merge of #22397 - Manishearth:rollup, r=huonw 2015-02-17 05:57:55 +00:00
libsyntax Fix fallout in libsyntax from RFC 599. Clarity and efficiency seems to be mostly improved, to my eye. 2015-02-16 10:55:37 -05:00
libterm Fix rollup (remove slicing_syntax) 2015-02-15 19:26:39 +05:30
libtest Fix rollup (remove slicing_syntax) 2015-02-15 19:26:39 +05:30
libunicode Fix rollup (remove slicing_syntax) 2015-02-15 19:26:39 +05:30
llvm@4891e6382e Update LLVM to disable asserts in the PassInfo cache 2015-02-12 21:30:04 +01:00
rt Rollup merge of #21964 - semarie:openbsd-env, r=alexcrichton 2015-02-06 16:21:05 +05:30
rust-installer@60fd8abfca Upgrade rust-installer 2015-02-12 20:36:17 -08:00
rustbook Rollup merge of #22373 - bombless:fix-rustbook, r=steveklabnik 2015-02-17 06:23:38 +05:30
rustllvm Update LLVM to disable asserts in the PassInfo cache 2015-02-12 21:30:04 +01:00
test Rollup merge of #22385 - dotdash:slice_by_val_copy, r=nikomatsakis 2015-02-17 17:33:17 +05:30
snapshots.txt register snapshots 2015-02-04 20:06:12 -05:00