forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 69a0c64
committed
fix the
we get these declarations
```
; opt level 0
declare x86_intrcc void @page_fault_handler(ptr byval([8 x i8]) align 8, i64) unnamed_addr #1
; opt level > 0
declare x86_intrcc void @page_fault_handler(ptr noalias nocapture noundef byval([8 x i8]) align 8 dereferenceable(8), i64 noundef) unnamed_addr #1
```
The space after `i64` in the original regex made the regex not match for
opt level 0. Removing the space fixes the issue.
```
declare x86_intrcc void @page_fault_handler(ptr {{.*}}, i64 {{.*}}){{.*}}#[[ATTRS:[0-9]+]]
```naked-asan
test1 parent bd8f8e0 commit 69a0c64
1 file changed
+2
-5
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 | - | ||
16 | - | ||
15 | + | ||
17 | 16 |
| |
18 | 17 |
| |
19 | 18 |
| |
20 | - | ||
21 | - | ||
22 | - | ||
19 | + | ||
23 | 20 |
| |
24 | 21 |
| |
25 | 22 |
| |
|
0 commit comments