[lld] [LLD] [ELF] Add support for linker script unary plus operator (PR #121508)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 17 13:40:07 PST 2025


================
@@ -126,6 +128,9 @@ SECTIONS {
 # CHECK-NEXT: 0000000000000020 A log2ceil100000000
 # CHECK-NEXT: 0000000000000021 A log2ceil100000001
 # CHECK-NEXT: 0000000000000040 A log2ceilmax
+# CHECK-NEXT: 0000000000000008 A unaryadd
+# CHECK-NEXT: 0000000000000003 A unaryadd_and_unaryminus
+
----------------
MaskRay wrote:

Delete the extra blank line

We don't use double-blank line as separator.

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


More information about the llvm-commits mailing list