diff options
| author | Folkert de Vries <folkert@folkertdev.nl> | 2024-12-01 14:55:17 +0100 |
|---|---|---|
| committer | Folkert de Vries <folkert@folkertdev.nl> | 2024-12-10 21:41:05 +0100 |
| commit | 69a0c64e2b7c10712fad9b7153f52502b3edd422 (patch) | |
| tree | 862b77629569e6bd42607c2b50d368c8a4195cea /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | bd8f8e063195d17ed7ddfd0895b9f235a90ab8f8 (diff) | |
| download | rust-69a0c64e2b7c10712fad9b7153f52502b3edd422.tar.gz rust-69a0c64e2b7c10712fad9b7153f52502b3edd422.zip | |
fix the `naked-asan` test
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]+]]
```
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
