[all-commits] [llvm/llvm-project] e912ff: [ELF] Avoid creating a 2.1GB output file in arm-ex...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Mon Aug 10 10:09:01 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e912fffd3a8c6c9f6e09d2eac4c1ee3a32800a22
      https://github.com/llvm/llvm-project/commit/e912fffd3a8c6c9f6e09d2eac4c1ee3a32800a22
  Author: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
  Date:   2020-08-10 (Mon, 10 Aug 2020)

  Changed paths:
    M lld/test/ELF/arm-exidx-range.s

  Log Message:
  -----------
  [ELF] Avoid creating a 2.1GB output file in arm-exidx-range.s

Currently both sections will be placed in the same PT_LOAD and therefore
lld generates a contiguous output file containing both sections.
By using AT(0xffff0000) the .vectors is placed a separate PT_LOAD and the
resulting file is now only a few kilobytes.

Reviewed By: psmith

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




More information about the All-commits mailing list