[lld] [llvm] [llvm][lld] Pre-commit tests for RISCV TLSDESC symbols (PR #85816)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 19 10:02:21 PDT 2024
================
@@ -0,0 +1,22 @@
+; RUN: llc -mtriple=riscv64 -relocation-model=pic -enable-tlsdesc < %s \
+; RUN: | llvm-mc -triple=riscv64 -filetype=obj -o %t.o --position-independent \
----------------
MaskRay wrote:
I don't think a new file is needed. You can additionally add `llvm-readelf -s` lines to tls-models.ll
https://github.com/llvm/llvm-project/pull/85816
More information about the llvm-commits
mailing list