Skip to content

Commit

Permalink
Rollup merge of rust-lang#80796 - cuviper:llvm-11.0.1, r=nikic
Browse files Browse the repository at this point in the history
Update to LLVM 11.0.1

This updates to a new LLVM branch, rebased on the upstream `llvmorg-11.0.1`. All our patches applied cleanly except the fortanix unwind changes, which just needed a small adjustment in cmake files.

r? `@nikic`
Fixes rust-lang#73722
  • Loading branch information
Dylan-DPC authored Jan 13, 2021
2 parents e73ee1d + 9756838 commit 330e196
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
[submodule "src/llvm-project"]
path = src/llvm-project
url = https://github.com/rust-lang/llvm-project.git
branch = rustc/11.0-2020-10-12
branch = rustc/11.0-2021-01-05
[submodule "src/doc/embedded-book"]
path = src/doc/embedded-book
url = https://github.com/rust-embedded/book.git
Expand Down
2 changes: 1 addition & 1 deletion src/llvm-project
Submodule llvm-project updated 186 files
5 changes: 3 additions & 2 deletions src/test/ui/extern/extern-compare-with-return-type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
// Tests that we can compare various kinds of extern fn signatures.
#![allow(non_camel_case_types)]

extern fn voidret1() {}
extern fn voidret2() {}
// `dbg!()` differentiates these functions to ensure they won't be merged.
extern fn voidret1() { dbg!() }
extern fn voidret2() { dbg!() }

extern fn uintret() -> usize { 22 }

Expand Down

0 comments on commit 330e196

Please sign in to comment.