[llvm-branch-commits] [lld] [lld] Fix handling of RISCV TLSDESC relocations (PR #85817)

Fangrui Song via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Mar 21 22:04:36 PDT 2024


================
@@ -30,10 +30,10 @@
 # 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 -filetype=obj d.s -o d.64.o
-# RUN: not ld.lld -shared -soname=d.64.so -o d.64.so d.64.o 2>&1 | FileCheck %s --check-prefix=BADTLSLABEL
+# RUN: ld.lld -shared -soname=d.64.so -o d.64.so d.64.o 2>&1 | FileCheck %s --check-prefix=BADTLSLABEL --allow-empty
----------------
MaskRay wrote:

--allow-empty is an anti-pattern. Avoid.

Replace `2>&1 | ...` with --fatal-warnings

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


More information about the llvm-branch-commits mailing list