about summary refs log tree commit diff
path: root/src/llvm-project
AgeCommit message (Collapse)AuthorLines
2020-10-22Bump LLVM for DeadArgElim fixAaron Hill-0/+0
Fixes #76387 Pulls in https://github.com/rust-lang/llvm-project/pull/82
2020-10-17Update LLVM for LLD COFF TLS alignment fix.Luqman Aden-0/+0
2020-10-15llvm: backport SystemZ fix for AGR clobbersJosh Stone-0/+0
2020-10-14Rebase LLVM onto 11.0.0 finalJosh Stone-0/+0
2020-10-08Update submodule llvm to get LVI bugfixRaoul Strackx-0/+0
2020-10-02Fix AVR stack corruption bugAndrew Dona-Couch-0/+0
Updates the Rust LLVM fork to pull in a fix for a stack corruption bug in AVR platform interrupt code lowering. Fixes #75504
2020-09-30Add support for cmse_nonsecure_entry attributeHugues de Valon-0/+0
This patch adds support for the LLVM cmse_nonsecure_entry attribute. This is a target-dependent attribute that only has sense for the thumbv8m Rust targets. You can find more information about this attribute here: https://developer.arm.com/documentation/ecm0359818/latest/ Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
2020-09-22Rebase LLVM onto 11.0.0-rc3Josh Stone-0/+0
2020-09-16Update LLVMJethro Beekman-0/+0
2020-09-05Update llvm-project to include PR 73Rich Kadel-0/+0
https://github.com/rust-lang/llvm-project/pull/73
2020-09-05Update llvm submoduleMateusz Mikuła-0/+0
2020-08-22Upgrade to LLVM 11 (rc2)Josh Stone-0/+0
2020-07-12Update llvm-project to latest origin/rustc/10.0-2020-05-05 commit which ↵Adrian Cruceru-0/+0
includes LVI segfault fix
2020-07-08Fix cross-compilation of LLVM to aarch64 Windows targetsArlo Siemsen-0/+0
When cross-compiling, the LLVM build system recurses to build tools that need to run on the host system. However, since we pass cmake defines to set the compiler and target, LLVM still compiles these tools for the target system, rather than the host. The tools then fail to execute during the LLVM build. This change sets defines for the tools that need to run on the host (llvm-nm, llvm-tablegen, and llvm-config), so that the LLVM build does not attempt to build them, and instead relies on the tools already built. If compiling with clang-cl, this change also adds the `--target` option to specify the target triple. MSVC compilers do not require this, since there is a separate compiler binary for cross-compilation.
2020-06-24[AVR] Update the rust-lang/llvm-project submodule to include AVR fixes ↵Dylan McKay-0/+0
recently merged This commit updates rustc's LLVM submodule to include new AVR-specific fixes recently merged on the Rust LLVM 'rustc/10.0-2020-05-05' branch. All of these cherry-picked commits exist in upstream LLVM and were cherry-picked into Rust's LLVM fork in commit 6c040dd86ed. |- 6c040dd86ed Merge pull request #66 from dylanmckay/avr-pick-upstream-llvm-fixes |- 12dfdd3aed7 [AVR] Rewrite the function calling convention. |- 118ac53f12b [AVR] Don't adjust for instruction size |- bc27c282e13 [AVR] Fix miscompilation of zext + add |- cfbe205a7e8 [AVR] Remove faulty stack pushing behavior |- 143e1469e96 [AVR] Fix stack size in functions with a frame pointer |- 6b2445d841e [LLVM][AVR] Support for R_AVR_6 fixup |- 93ee4da19cf [AVR] Fix I/O instructions on XMEGA |- 962c2415ffb [AVR] Do not place functions in .progmem.data |- 65b8b170aef [AVR] Do not use divmod calls for bigger integers |- 93a3b595d1c [AVR] Generalize the previous interrupt bugfix to signal |- handlers too |- cc4286349b4 [AVR] Respect the 'interrupt' function attribute |- 954d0a92205 [AVR] Fix reads of uninitialized variables from constructor of AVRSubtarget |- 1c0ddae73c9 [AVR] Fix read of uninitialized variable AVRSubtarget:::ELFArch |- 0ed0823fe60 [AVR] Fix incorrect register state for LDRdPtr |- 96075fc433d [AVR] Don't adjust addresses by 2 for absolute values |- 6dfc55ba53b [AVR] Use correct register class for mul instructions These changes include both correctness fixes and LLVM assertion error fixes. Once all of these commits have been cherry-picked, all of the LLVM plumbing for rust-lang/master to compile the AVR blink program will be in place. Once this commit is merged, only PR rust-lang/rust#73270 will be blocking successful compilation and emission of the AVR LED blink program.
2020-06-13Update LLVM submoduleAmanieu d'Antras-0/+0
2020-06-05Update LLVM submodule to include lld NOLOAD fixarcnmx-0/+0
https://github.com/rust-lang/llvm-project/pull/64
2020-05-20Update LLVM submoduleNikita Popov-0/+0
2020-05-18Update LLVM submoduleAmanieu d'Antras-0/+0
2020-05-18Update llvm-project submoduleAmanieu d'Antras-0/+0
2020-04-29Store LLVM bitcode in object files, not compressedAlex Crichton-0/+0
This commit is an attempted resurrection of #70458 where LLVM bitcode emitted by rustc into rlibs is stored into object file sections rather than in a separate file. The main rationale for doing this is that when rustc emits bitcode it will no longer use a custom compression scheme which makes it both easier to interoperate with existing tools and also cuts down on compile time since this compression isn't happening. The blocker for this in #70458 turned out to be that native linkers didn't handle the new sections well, causing the sections to either trigger bugs in the linker or actually end up in the final linked artifact. This commit attempts to address these issues by ensuring that native linkers ignore the new sections by inserting custom flags with module-level inline assembly. Note that this does not currently change the API of the compiler at all. The pre-existing `-C bitcode-in-rlib` flag is co-opted to indicate whether the bitcode should be present in the object file or not. Finally, note that an important consequence of this commit, which is also one of its primary purposes, is to enable rustc's `-Clto` bitcode loading to load rlibs produced with `-Clinker-plugin-lto`. The goal here is that when you're building with LTO Cargo will tell rustc to skip codegen of all intermediate crates and only generate LLVM IR. Today rustc will generate both object code and LLVM IR, but the object code is later simply thrown away, wastefully.
2020-04-07Update LLVM submodule fixing sanitizers build with glibc 2.31Tomasz Miąsko-0/+0
2020-04-03Make panic unwind the default for aarch64-*-windows-msvc targetsDaniel Frampton-0/+0
2020-03-30Fix #69841 by updating LLVM submodule. Includes regression test for issue 69841.Felix S. Klock II-0/+0
2020-03-29Update LLVM submoduleAmanieu d'Antras-0/+0
2020-02-26update llvm to silence gcc 9 warningsYI-0/+0
Closes https://github.com/rust-lang/rust/issues/69078
2020-02-24Cherry-pick the LLVM fix for #69225Josh Stone-0/+0
2020-01-27Fix LLVM assertion failure in MSP430 interrupt generation.William D. Jones-0/+0
2020-01-24New fixThomas Lively-0/+0
2020-01-21Update LLVMTyler Mandry-0/+0
Fixes #67855 (rust-lang/llvm-project#31) Fixes #66036 (rust-lang/llvm-project#32)
2020-01-08Rebase LLVM onto 9.0.1Josh Stone-0/+0
2020-01-01Update LLVMmsizanoen1-0/+0
2019-11-30Update LLVM submoduleMateusz Mikuła-0/+0
2019-11-15Update src/llvm-project to include rust-lang/llvm-project#27.Eduard-Mihai Burtescu-0/+0
2019-11-12Update llvm submoduleMateusz Mikuła-0/+0
2019-10-08Update LLVM for Emscripten exception handling supportThomas Lively-0/+0
Updates LLVM to pick up the cherry-picked support for correctly handling exception handling with aggregates passed by value. This will be necessary to continue to support Emscripten's exception handling once we switch using Emscripten's LLVM backend. See #63649.
2019-10-02Update llvm-project submoduleAlex Crichton-0/+0
Bring in rust-lang/llvm-project#24 which brings in some wasm improvements related to the bulk-memory proposal
2019-09-20Update to LLVM 9.0.0Josh Stone-0/+0
2019-09-09Update LLVM submoduleNikita Popov-0/+0
2019-08-09Update LLVM submoduleNikita Popov-0/+0
2019-08-05Update LLVM submoduleNikita Popov-0/+0
2019-07-25std: Use native `#[thread_local]` TLS on wasmAlex Crichton-0/+0
This commit moves `thread_local!` on WebAssembly targets to using the `#[thread_local]` attribute in LLVM. This was recently implemented upstream and is [in the process of being documented][dox]. This change only takes affect if modules are compiled with `+atomics` which is currently unstable and a pretty esoteric method of compiling wasm artifacts. This "new power" of the wasm toolchain means that the old `wasm-bindgen-threads` feature of the standard library can be removed since it should now be possible to create a fully functioning threaded wasm module without intrusively dealing with libstd symbols or intrinsics. Yay! [dox]: https://github.com/WebAssembly/tool-conventions/pull/116
2019-07-13Update LLVM submoduleNikita Popov-0/+0
2019-07-07Update LLVM: apply patch necessary for ThinLTO on RISC-VVadim Kaushan-0/+0
2019-07-01Update LLVM: apply patches for pc-relative addressing on 64-bit RISC-VVadim Kaushan-0/+0
2019-06-21Update LLVM to fix VS 2019 compilationJohn Kåre Alsaker-0/+0
2019-05-31Update LLVMvarkor-0/+0
2019-05-22Bump compiler-builtins to 0.1.15Alex Crichton-0/+0
This commit bumps the `compiler-builtins` dependency to 0.1.15 which expects to have the source for `compiler-rt` provided externally if the `c` feature is enabled. This then plumbs through the necessary support in the build system to ensure that if the `llvm-project` directory is checked out and present that we enable the `c` feature of `compiler-builtins` and compile in all the C intrinsics.
2019-05-20Fix MSP430 AsmPrinter and assembler syntax mismatch.William D. Jones-0/+0
2019-05-14Update LLVM to fix assertion when compiling to wasmAlex Crichton-0/+0
More details can be found in #60540! Closes #60540