[lld] [lld][ELF] Allow `.data.rel.ro.unlikely` to be RELRO (PR #148920)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 19 00:02:55 PDT 2025


================
@@ -0,0 +1,89 @@
+# REQUIRES: x86
+
+# RUN: rm -rf %t && split-file %s %t && cd %t
+
+# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux input.s -o a.o
----------------
MaskRay wrote:

`-triple=x86_64 a.s -o a.o`


We make the source file name match the output name and often use short names like `.s` for convenience.

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


More information about the llvm-commits mailing list