================

----------------
kovdan01 wrote:

It would be nice to also add a run line against `aarch64` or `aarch64-elf` 
generic triple in this and other tests (see code below). The logic tested is 
not apple-specific. The test would need a slight change since IR for ELF has 
functions marked as `dso_local` - you might probably want to use smth like `// 
CHECK-LABEL: define {{.*}}void @test_auth()` to match both MachO and ELF or, 
alternatively, use different check prefixes for function labels on MachO and 
ELF to avoid regex in match lines.

```
// RUN: %clang_cc1 -triple arm64-apple-ios -fptrauth-intrinsics -emit-llvm %s  
-o - | FileCheck %s
// RUN: %clang_cc1 -triple aarch64-elf     -fptrauth-intrinsics -emit-llvm %s  
-o - | FileCheck %s
```

This is probably a subject for another tiny PR since the RUN line is not 
touched here and the test already existed.

https://github.com/llvm/llvm-project/pull/93903
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to