Skip to content

Commit fd3af3a

Browse files
HEIR Teamcopybara-github
authored andcommitted
Updates LLVM usage to match [a7c97252ed18](llvm/llvm-project@a7c97252ed18) PiperOrigin-RevId: 908977374
1 parent 9cc94c9 commit fd3af3a

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

bazel/extensions.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
66

77
def _llvm_deps_impl(_):
88
"""Implementation of the llvm_deps module extension."""
9-
LLVM_COMMIT = "4d676e56f0ee819a20a021434a53060a43c33120"
9+
LLVM_COMMIT = "a7c97252ed18839e87796dffd3926086ab62e8fd"
1010

1111
# Download LLVM/MLIR using a git repository
1212
new_git_repository(

patches/llvm.patch

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,13 @@
11
Auto generated patch. Do not edit or delete it, even if empty.
2+
diff -ruN --strip-trailing-cr a/compiler-rt/test/cfi/icall/bad-signature.c b/compiler-rt/test/cfi/icall/bad-signature.c
3+
--- a/compiler-rt/test/cfi/icall/bad-signature.c
4+
+++ b/compiler-rt/test/cfi/icall/bad-signature.c
5+
@@ -17,7 +17,7 @@
6+
fprintf(stderr, "1\n");
7+
8+
// CFI-DIAG: runtime error: control flow integrity check for type 'void (int)' failed during indirect function call
9+
- // CFI-DIAG: bad-signature.c:[[@LINE-8]]: note: f defined here
10+
+ // CFI-DIAG: bad-signature.c:[[@LINE-8]]{{(:[0-9]+)?}}: note: f defined here
11+
((void (*)(int))f)(42); // UB here
12+
13+
// CFI-NOT: 2

0 commit comments

Comments
 (0)