Commit Graph

56592 Commits

Author SHA1 Message Date
Eduard Burtescu
8341f6451b Fix run-pass/signal-exit-status to not trigger UB by writing to NULL. 2016-08-30 05:34:21 +03:00
bors
addb753762 Auto merge of #36117 - eddyb:llvm-hoist-meta, r=alexcrichton
llvm: backport "[SimplifyCFG] Hoisting invalidates metadata".

Fixes #36023 by backporting @majnemer's LLVM patch fixing [the LLVM bug](https://llvm.org/bugs/show_bug.cgi?id=29163.) where SimplifyCFG hoisted instructions andkept their metadata (conditional `!nonnull` loads could kill a null check later if hoisted).

r? @alexcrichton
2016-08-29 17:01:09 -07:00
Gavin Baker
2967dcc4d7 E0184 Update error format #35275
- Fixes #35275
- Part of #35233

r? @jonathandturner
2016-08-30 09:51:03 +10:00
Gavin Baker
28c5edb9f6 E0165 Update error format #35270
- Fixes #35270
- Part of #35233

r? @jonathandturner
2016-08-30 09:50:55 +10:00
Gavin Baker
6355528ffd E0164 Update error format #35269
- Fixes #35269
- Part of #35233

r? @jonathandturner
2016-08-30 09:50:46 +10:00
Simonas Kazlauskas
f53415fe0d Unignore the json tests on 32-bit platforms
cc #14064
2016-08-30 02:16:18 +03:00
arthurprs
175d434c99 Remove BinaryHeap bounds checking 2016-08-29 23:12:08 +02:00
Simonas Kazlauskas
987ef784fd Fix the test_variadic_ptr fn on printf-less sys
Fixes #36076
2016-08-29 22:58:05 +03:00
Eduard Burtescu
61a639ec4e llvm: backport "[SimplifyCFG] Hoisting invalidates metadata". 2016-08-29 22:53:18 +03:00
bors
77d2cd28fd Auto merge of #36080 - japaric:systemz, r=alexcrichton
build llvm with systemz backend enabled, and link to related libraries

when building rust against system llvm

closes #36077

r? @alexcrichton
2016-08-29 12:48:21 -07:00
Michael Woerister
bcd2f905c4 incr.comp.: Canonicalize path to session directory before deleteing it. 2016-08-29 14:27:40 -04:00
Michael Woerister
50b008ae3b compiletest: Canonicalize paths when remove incr.comp. dir, enabling longer paths 2016-08-29 14:27:40 -04:00
Michael Woerister
68d2275a97 Fix tidy-errors 2016-08-29 14:27:40 -04:00
Michael Woerister
9d110685e7 incr.comp.: Make compiletest generate shorter cache directory names. 2016-08-29 14:27:40 -04:00
Michael Woerister
a3dc5f95aa incr.comp.: Make path's of session directories slightly shorter.
By using "s-" instead of "sess-" as a prefix and encoding numbers as base36 instead of base16.
2016-08-29 14:27:40 -04:00
Michael Woerister
b67f57afdd incr. comp.: Fix test_timestamp_serialization so it does not overflow on some 32bit systems. 2016-08-29 14:27:40 -04:00
Michael Woerister
004a7eb127 Fix rustbuild 2016-08-29 14:27:40 -04:00
Michael Woerister
794fd315ad incr.comp.: Move lock files out of directory being locked 2016-08-29 14:27:40 -04:00
Michael Woerister
3e9bed92da Implement copy-on-write scheme for managing the incremental compilation cache. 2016-08-29 14:27:40 -04:00
Michael Woerister
206e7b6fc7 Add some features to flock. 2016-08-29 14:27:40 -04:00
Michael Woerister
6ef8198406 Move flock.rs from librustdoc to librustc_data_structures. 2016-08-29 14:27:40 -04:00
philipp
5928be1d9b Changed issue number to 36105 2016-08-29 19:43:18 +02:00
zjhmale
01083baec2 Update E0089 to new error format 2016-08-30 01:36:58 +08:00
Keith Yeung
899c2891e6 Fix illegal instruction caused by overflow in channel cloning 2016-08-29 10:27:59 -07:00
Jorge Aparicio
bbf2c3c31f update libc submodule 2016-08-29 12:25:06 -05:00
Paul Fanelli
58ced1635b Update E0463 error message to new format 2016-08-29 15:44:05 +00:00
Simon Sapin
f040208d53 Implement TryFrom<u32> for char
For symmetry with From<char> for u32.
2016-08-29 17:34:02 +02:00
Simon Sapin
41d0a89e3a Implement From<char> for u32, and From<u8> for char
These fit with other From implementations between integer types.

This helps the coding style of avoiding the 'as' operator that sometimes
silently truncates, and signals that these specific conversions are
lossless and infaillible.
2016-08-29 17:34:02 +02:00
Matthew Piziak
89f7e92698 demonstrate RHS != Self use cases for Add and Sub
remove extra `../`s
2016-08-29 11:24:22 -04:00
Andre Bogus
a87b4d88fb removed unneeded test, also compiletest vs. rustfmt 2016-08-29 16:45:22 +02:00
Andre Bogus
e95f119d68 rustfmt tests 2016-08-29 14:03:57 +02:00
Mohit Agarwal
d6fc2baa11
Update E0260 to new error format
Updates #35515.
Part of #35233.

r? @jonathandturner
2016-08-29 16:20:08 +05:30
king6cong
9ce47e318a fix git submodule status check 2016-08-29 16:53:38 +08:00
Tomasz Miąsko
59e5e0b2db Avoid using pthread_condattr_setclock on Android.
The pthread_condattr_setclock is available only since
Android 5.0 and API level 21.
2016-08-29 10:53:12 +02:00
Mikhail Modin
46fc80c44e update error E0451 to new format 2016-08-29 09:55:16 +03:00
Jeffrey Seyfried
cdde06ea97 Fix merge conflicts. 2016-08-29 05:20:42 +00:00
Jeffrey Seyfried
663caa9ddf Remove inherent methods Annotatable::attrs and Annotatable::fold_attrs. 2016-08-29 05:20:42 +00:00
Jeffrey Seyfried
4fe94e0be6 Future proof the AST for union. 2016-08-29 05:20:40 +00:00
bors
86dde9bbda Auto merge of #36062 - japaric:smarter-submodules, r=alexcrichton
rustbuild: smarter `git submodule`-ing

With this commit, if one bootstraps rust against system llvm then the
src/llvm submodule is not updated/checked-out. This saves considerable
network bandwith when starting from a fresh clone of rust-lang/rust as
the llvm submodule is never cloned.

cc #30107

r? @alexcrichton
cc @petevine

~~We could also avoid updating the jemalloc submodule if --disable-jemalloc is used. It just hasn't been implemented.~~ Done

This probably doesn't handle "recursive" submodules correctly but I think we don't have any of those right now.

I'm still testing a bootstrap but already confirmed that the llvm submodule doesn't get updated when `--llvm-root` is passed to `configure`.
2016-08-28 21:57:51 -07:00
Jorge Aparicio
4b5007a1a2 fix tidy error 2016-08-28 22:13:35 -05:00
Gavin Baker
0412fa8b8e E0458 Update error format #35932
- Fixes #35932
    - Part of #35233

    r? @jonathandturner
2016-08-29 13:12:25 +10:00
Gavin Baker
65249a5431 E0459 Update error format #35933
- Fixes #35933
- Part of #35233

r? @jonathandturner
2016-08-29 13:12:25 +10:00
Jorge Aparicio
2222d437a7 fix data-layouts 2016-08-28 21:35:54 -05:00
Jorge Aparicio
bc288a598c cabi: change some more 32s to 64s 2016-08-28 21:35:54 -05:00
Andrew Paseltiner
91bfa2c829
Add test for #24204
Closes #24204
2016-08-28 19:45:20 -04:00
Andrew Paseltiner
f740631363
Add test for #28324
Closes #28324
2016-08-28 19:44:17 -04:00
Andrew Paseltiner
9c256ec94b
Add test for #35423
Closes #35423
2016-08-28 19:16:13 -04:00
bors
acd3f796d2 Auto merge of #36059 - CryZe:improved-demangling, r=alexcrichton
Improve Demangling of Rust Symbols

This turns `..` into `::`, handles some more escapes and gets rid of unwanted underscores at the beginning of path elements.

![Image of Diff](http://puu.sh/qQIN3.png)
2016-08-28 16:13:16 -07:00
Andrew Paseltiner
da566aeebf
Add test for #34053
Closes #34053
2016-08-28 19:10:12 -04:00
Andrew Paseltiner
ef4952e739
Address FIXME in libcollectionstest/btree/set.rs 2016-08-28 18:52:21 -04:00