[PATCH] D140633: [lld][ARM] don't use short thumb thunks if no branch range extension

Ties Stuij via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 23 13:02:24 PST 2022


stuij added inline comments.


================
Comment at: lld/test/ELF/arm-thumb-range-thunk-os-no-ext.s:4
+// RUN: ld.lld %t -o %t2
+// The output file is large, most of it zeroes. We dissassemble only the
+// parts we need to speed up the test and avoid a large output file
----------------
MaskRay wrote:
> The output file has 12+MiB, which is too large. Is it possible to make it smaller with a linker script?
I agree it's not great. I used arm-thumb-range-thunk-os.s as a template which is more than twice as big btw. I'll have a look what I can do.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140633



More information about the llvm-commits mailing list