[PATCH] D94560: [ELF] report section sizes when output file too large

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 15 16:23:01 PST 2021


MaskRay added inline comments.


================
Comment at: lld/test/ELF/linkerscript/output-too-large.s:32
+# CHECK-NEXT: section sizes:
+# CHECK-DAG: .data 1
+# CHECK-DAG: .text 4294967297
----------------
.text preceding .data is fairly stable.

You can just use `-NEXT:` to strengthen the test.

(DAG: does not check there is no interleaving line)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94560



More information about the llvm-commits mailing list