about summary refs log tree commit diff
path: root/src/test/run-make-fulldeps
AgeCommit message (Collapse)AuthorLines
2019-05-29Make run-make PGO tests work on MSVC.Michael Woerister-4/+34
2019-05-28Rollup merge of #61250 - rye:print-target-list--rm-ios-case, r=alexcrichtonMazdak Farrokhzad-8/+1
Remove special case for *ios* builds in run-make-fulldeps/print-target-list Makefile Previous `TODO` comment in this file mentions [an issue that was closed](https://github.com/rust-lang/rust/issues/29812), and I was able to confirm locally that provided code in that issue no longer produces an ICE. Discussion on that issue seems to indicate this code was no longer needed as of 1.12.0. I removed the `*ios*` branch from this `case` statement as it may cause confusion, then removed the case statement entirely as it only had a wildcard branch.
2019-05-27Fix an sh errorKristofer Rye-1/+1
Didn't think it was this particular about things, but I also should have tested locally. It makes sense, though---`\` followed by LF would eat it, so we'd have `sysroot done` instead of `sysroot; done` as it is parsed. This should pass now. Signed-off-by: Kristofer Rye <kristofer.rye@gmail.com> Tested-by: Kristofer Rye <kristofer.rye@gmail.com>
2019-05-27Remove now-dead case statement in print-target-list MakefileKristofer Rye-5/+1
Since this case statement no longer has any branches, remove it. Signed-off-by: Kristofer Rye <kristofer.rye@gmail.com>
2019-05-27Remove *ios* case from print-target-list MakefileKristofer Rye-3/+0
Based on the TODO, this case was added to short-circuit for ios builds, which is no longer necessary. The comment in this Makefile mentions rust-lang/rust#29812 as a dependency, but that issue has been since closed, with a statement that the ICE of concern was resolved circa 1.12. Here we remove this case, and just run the same branch for all targets. Signed-off-by: Kristofer Rye <kristofer.rye@gmail.com>
2019-05-27Add a smoketest for combining PGO with xLTO.Michael Woerister-0/+131
2019-05-23Update wasm_import_module_map and target_features_whitelistJohn Kåre Alsaker-2/+2
2019-05-13Remove bitrig support from rustMarcel Hellwig-10/+0
2019-05-10Make tests compatible with musl hostMateusz Mikuła-2/+6
2019-05-05Move run-make test to run-make-fulldepsvarkor-0/+23
2019-05-03Rollup merge of #60401 - JohnTitor:rename-log, r=davidtwcoMazdak Farrokhzad-1/+1
Rename `RUST_LOG` to `RUSTC_LOG` cc: #57985 I think we should also change these submodules: - rustc-guide - Cargo (rename to `CARGO_LOG`, cc: https://github.com/rust-lang/cargo/pull/6605, https://github.com/rust-lang/cargo/issues/6189) - miri - rls - rustfmt r? @davidtwco
2019-05-02Rollup merge of #60385 - nnethercote:earlier-metadata, r=alexcrichtonMazdak Farrokhzad-1/+3
Emit metadata files earlier This will make cargo pipelining much more effective.
2019-04-30Work around missing tac command on macOS in PGO run-make test.Michael Woerister-1/+9
2019-04-30Rename to RUSTC_LOGYuki OKUSHI-1/+1
2019-04-30Move metadata encoding earlier.Nicholas Nethercote-1/+3
This commit separates metadata encoding (`tcx.encode_metadata`) from the creation of the metadata module (which is now handled by `write_compressed_metadata`, formerly `write_metadata`). The metadata encoding now occurs slightly earlier in the pipeline, at the very start of code generation within `start_codegen`. Metadata *writing* still occurs near the end of compilation; that will be moved forward in subsequent commits.
2019-04-29bootstrap: Don't add LLVM's bin directory to the PATH for tool invocations.Michael Woerister-11/+11
2019-04-26PGO: Add a run-make test that makes sure that PGO profiling data is used by ↵Michael Woerister-0/+77
the compiler during optimizations.
2019-04-26compiletest: Make the LLVM FileCheck tool available to run-make tests.Michael Woerister-0/+1
2019-04-25Rollup merge of #60038 - michaelwoerister:pgo-updates-2, r=alexcrichtonMazdak Farrokhzad-41/+28
Add codegen test for PGO instrumentation. This PR adds a codegen test that makes sure that LLVM actually generates instrumentation code when we enable PGO instrumentation in `rustc`. The second commit updates a test case to the new commandline option syntax introduced in #59874. Without the fix the test still works, but it confusingly creates a directory called `test.profraw`, which usually is the name of the _file_ where profiling data is collected.
2019-04-24Fix ignore-logic for sanitizer run-make tests.Michael Woerister-9/+6
2019-04-23Auto merge of #60172 - varkor:tidy-double-trailing-newline, r=kennytmbors-7/+0
Disallow double trailing newlines in tidy This wasn't done previously in https://github.com/rust-lang/rust/pull/47064#issuecomment-354533010 as it affected too many files, but I think it's best to fix it now so that the number of files with double trailing newlines doesn't keep increasing. r? kennytm
2019-04-23Auto merge of #60140 - euclio:pulldown-cmark, r=GuillaumeGomezbors-0/+22
upgrade rustdoc's pulldown-cmark to 0.4.1 Fixes #59194.
2019-04-22Remove leading newlinesvarkor-2/+0
2019-04-22Remove double trailing newlinesvarkor-7/+0
2019-04-22upgrade rustdoc's pulldown-cmark to 0.4.1Andy Russell-0/+22
2019-04-18Use new `needs-(profiler|sanitizer)-support` compiletest directive to clean ↵Michael Woerister-30/+20
up some run-make tests.
2019-04-18Prefix PROFILER_SUPPORT and SANITIZER_SUPPORT test env vars with RUSTC_ to ↵Michael Woerister-14/+14
make things clearer.
2019-04-18Update run-make PGO test to new commandline syntax.Michael Woerister-1/+1
2019-04-14Auto merge of #59950 - Centril:rollup-hpmr62i, r=Centrilbors-8/+16
Rollup of 6 pull requests Successful merges: - #59776 (Apply resource-suffix to search-index and source-files scripts as well) - #59784 (Suggest importing macros from the crate root) - #59812 (Exclude profiler-generated symbols from MSVC __imp_-symbol workaround.) - #59874 (Clean up handling of `-Z pgo-gen` commandline option.) - #59890 (Don't generate empty json variables) - #59911 (Revert "compile crates under test w/ -Zemit-stack-sizes") Failed merges: r? @ghost
2019-04-14Rollup merge of #59874 - michaelwoerister:pgo-updates-1, r=cramertjMazdak Farrokhzad-8/+4
Clean up handling of `-Z pgo-gen` commandline option. This PR adapts the `-Z pgo-gen` flag to how Clang and GCC handle the corresponding `-fprofile-generate` flag. In particular, the flag now optionally takes a directory to place the profiling data in and allows to omit the argument (instead of having to pass an empty string).
2019-04-14Rollup merge of #59675 - SimonSapin:stable-alloc, r=alexcrichtonMazdak Farrokhzad-2/+2
Stabilize the `alloc` crate. This implements RFC 2480: * https://github.com/rust-lang/rfcs/pull/2480 * https://github.com/rust-lang/rfcs/blob/master/text/2480-liballoc.md Closes https://github.com/rust-lang/rust/issues/27783
2019-04-12Stabilize the `alloc` crate.Simon Sapin-2/+2
This implements RFC 2480: * https://github.com/rust-lang/rfcs/pull/2480 * https://github.com/rust-lang/rfcs/blob/master/text/2480-liballoc.md Closes https://github.com/rust-lang/rust/issues/27783
2019-04-11Clean up handling of -Zpgo-gen commandline option.Michael Woerister-8/+4
2019-04-09Exclude profiler-generated symbols from MSVC __imp_-symbol workaround.Michael Woerister-0/+12
2019-04-05Add regression test for #59137.Michael Woerister-0/+20
2019-03-28Rollup merge of #59371 - dlrobertson:rename_va_list_copy, r=joshtriplettMazdak Farrokhzad-1/+1
ffi: rename VaList::copy to VaList::with_copy Rename `VaList::copy` to `VaList::with_copy` r? @joshtriplett
2019-03-22ffi: rename VaList::copy to VaList::with_copyDan Robertson-1/+1
Rename `VaList::copy` to `VaList::with_copy`.
2019-03-21Move one test from run-make-fulldeps to uiVadim Petrochenkov-57/+0
2019-03-20Auto merge of #57018 - dcreager:redundant-linker, r=alexcrichtonbors-0/+48
Keep last redundant linker flag, not first When a library (L1) is passed to the linker multiple times, this is sometimes purposeful: there might be several other libraries in the linker command (L2 and L3) that all depend on L1. You'd end up with a (simplified) linker command that looks like: ``` -l2 -l1 -l3 -l1 ``` With the previous behavior, when rustc encountered a redundant library, it would keep the first instance, and remove the later ones, resulting in: ``` -l2 -l1 -l3 ``` This can cause a linker error, because on some platforms (e.g. Linux), the linker will only include symbols from L1 that are needed *at the point it's referenced in the command line*. So if L3 depends on additional symbols from L1, which aren't needed by L2, the linker won't know to include them, and you'll end up with "undefined symbols" errors. A better behavior is to keep the *last* instance of the library: ``` -l2 -l3 -l1 ``` This ensures that all "downstream" libraries have been included in the linker command before the "upstream" library is referenced. Fixes rust-lang#47989
2019-03-19Ignore test on WindowsDouglas Creager-1/+6
2019-03-19Explicitly prefer dynamic linking in test caseDouglas Creager-0/+1
2019-03-16Fix testbjorn3-7/+34
2019-03-15Remove copyright noticesDouglas Creager-42/+1
2019-03-12Move comment describing test caseDouglas Creager-9/+10
2019-03-11Add run-make-fulldeps test caseDouglas Creager-0/+82
2019-03-10Make the rustc driver and interface demand drivenJohn Kåre Alsaker-47/+32
2019-03-07update treat-err-as-bug testEsteban Küber-1/+1
2019-03-02Call clang and llvm-objdump with correct library pathMark Rousskov-6/+6
2019-02-28Introduce rustc_interface and move some methods thereJohn Kåre Alsaker-1/+3
2019-02-27Support defining C compatible variadic functionsDan Robertson-2/+35
Add support for defining C compatible variadic functions in unsafe rust with extern "C".