[lld] [lld][ELF] Allow explicit address expressions on .tbss output sections (PR #196447)

Peter Smith via llvm-commits llvm-commits at lists.llvm.org
Fri May 8 06:20:16 PDT 2026


================
@@ -0,0 +1,52 @@
+# REQUIRES: x86
+## Test that an explicit address expression on a .tbss section is respected.
+
+# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
+
+## Test that an explicit address on a tbss section is honored.
+# RUN: echo 'SECTIONS { \
----------------
smithp35 wrote:

lld convention for new tests is to use `split-file` to combine the details of multiple files (like linker script variations) into a single file.

Could you update the test to use split-file? An example to crib from `aarch64-thunk-script.s`.


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


More information about the llvm-commits mailing list