[all-commits] [llvm/llvm-project] 6d637f: [ELF][test] Delete large temporary files and make ...

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Sep 21 12:09:38 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d637fa560f0196b93e377b98489661ecd7a1af0
      https://github.com/llvm/llvm-project/commit/6d637fa560f0196b93e377b98489661ecd7a1af0
  Author: Fangrui Song <i at maskray.me>
  Date:   2020-09-21 (Mon, 21 Sep 2020)

  Changed paths:
    M lld/test/ELF/aarch64-cortex-a53-843419-large.s
    M lld/test/ELF/aarch64-cortex-a53-843419-large2.s
    M lld/test/ELF/aarch64-cortex-a53-843419-thunk-range.s
    M lld/test/ELF/aarch64-thunk-pi.s
    M lld/test/ELF/aarch64-thunk-script.s
    M lld/test/ELF/aarch64-thunk-section-location.s
    M lld/test/ELF/arm-thumb-plt-range-thunk-os.s

  Log Message:
  -----------
  [ELF][test] Delete large temporary files and make some temporary files smaller with two text segments

Large files are cumbersome on some filesystems and can more easily trigger ENOSPC.

Some tests use two text sections with output section addresses to test branch ranges.
Use two text segments to prevent LLD from filling the gap and unnecessarily increasing the output size.

With this change, there is no test/ELF temporary file larger than 100MiB.

Reviewed By: psmith

Differential Revision: https://reviews.llvm.org/D88037




More information about the All-commits mailing list