[PATCH] D88037: [ELF][test] Make some tests' temporary files smaller

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 11:27:49 PDT 2020


psmith accepted this revision.
psmith added a comment.
This revision is now accepted and ready to land.

Looks good to me. Thanks for cleaning this up, it will be of great help to 32-bit bots.



================
Comment at: lld/test/ELF/aarch64-cortex-a53-843419-thunk-range.s:2
 // REQUIRES: aarch64
-// RUN: llvm-mc -filetype=obj -triple=aarch64-none-linux --asm-macro-max-nesting-depth=40000 %s -o %t.o
-// RUN: echo "SECTIONS { \
-// RUN:          .text1 0x10000 : { *(.text.*) } \
-// RUN:          .text2 0xf010000 : { *(.target) } } " > %t.script
-// RUN: ld.lld --script %t.script -fix-cortex-a53-843419 %t.o -o %t2 --print-map 2>&1 | FileCheck %s
+// RUN: split-file %s %t
+// RUN: llvm-mc -filetype=obj -triple=aarch64 --asm-macro-max-nesting-depth=40000 %t/asm -o %t.o
----------------
The other test has 
```
rm -rf %t && split-file %s %t
```
Just thought I'd mention in case this wasn't deliberate.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D88037



More information about the llvm-commits mailing list