[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 09:50:01 PDT 2024


================
@@ -29,6 +29,12 @@
 # RUN: ld.lld -e 0 -z now a.32.o c.32.so -o a.32.ie
 # RUN: llvm-objdump --no-show-raw-insn -M no-aliases -h -d a.32.ie | FileCheck %s --check-prefix=IE32
 
+# RUN: llvm-mc -triple=riscv64 --position-independent -filetype=obj d.s -o d.64.o
+# RUN: not ld.lld -shared -soname=libd.64.so -o libd.64.so d.64.o 2>&1 | FileCheck %s --check-prefix=BADTLSLABEL
----------------
MaskRay wrote:

we don't use `lib*.so` in tests. Just d.64.so

https://github.com/llvm/llvm-project/pull/85816


More information about the llvm-commits mailing list