[PATCH] D65722: [ELF] Expand regions for gaps due to explicit address

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 4 19:53:39 PDT 2019


MaskRay added inline comments.


================
Comment at: lld/test/ELF/linkerscript/section-gap-explicit-expr.test:3
+
+# RUN: echo ".section .aaa, \"a\"; .quad 0; .section .bbb, \"a\"; .quad 0;" \
+# RUN:   | llvm-mc -filetype=obj -triple=x86_64-pc-linux - -o %t
----------------
`echo ".section .aaa, 'a'; .quad 0; ..."`


================
Comment at: lld/test/ELF/linkerscript/section-gap-explicit-expr.test:4
+# RUN: echo ".section .aaa, \"a\"; .quad 0; .section .bbb, \"a\"; .quad 0;" \
+# RUN:   | llvm-mc -filetype=obj -triple=x86_64-pc-linux - -o %t
+# RUN: ld.lld %t --script %s -o %t2
----------------
`-o %t.o`

`ld.lld ... %t.o -o %t`


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65722/new/

https://reviews.llvm.org/D65722





More information about the llvm-commits mailing list