[llvm] [PAC][ELF] Place AUTH constants in .data.rel.ro for position dependent code (PR #150418)
Anatoly Trosinenko via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 30 09:24:36 PDT 2025
================
@@ -0,0 +1,51 @@
+; RUN: llc -mtriple aarch64-elf --relocation-model=static -mattr=+pauth -filetype=asm -o - %s | FileCheck %s
+; RUN: llc -mtriple aarch64-elf --relocation-model=dynamic-no-pic -mattr=+pauth -filetype=asm -o - %s | FileCheck %s
----------------
atrosinenko wrote:
As far as I can see, `-filetype=asm` is the default in `llc`. Furthermore, it is [advised](https://llvm.org/docs/TestingGuide.html#fragile-tests) to pass the input to `opt` via redirection - not sure if it has any relation to `llc` (except for uniformity), but using `< %s` makes `-o -` useless, too.
https://github.com/llvm/llvm-project/pull/150418
More information about the llvm-commits
mailing list