[all-commits] [llvm/llvm-project] 472889: [LLD] Support compressed input sections on big-end...

Simon Atanasyan via All-commits all-commits at lists.llvm.org
Fri Sep 10 15:37:00 PDT 2021


  Branch: refs/heads/release/13.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 4728892cd336dfd29a2d18dee06c1f2e46b8f73d
      https://github.com/llvm/llvm-project/commit/4728892cd336dfd29a2d18dee06c1f2e46b8f73d
  Author: Simon Atanasyan <simon at atanasyan.com>
  Date:   2021-09-10 (Fri, 10 Sep 2021)

  Changed paths:
    M lld/ELF/InputSection.cpp
    M lld/ELF/InputSection.h
    M lld/test/ELF/compressed-debug-input-err.s
    M lld/test/ELF/compressed-debug-input.s

  Log Message:
  -----------
  [LLD] Support compressed input sections on big-endian targets

This patch enables compressed input sections on big-endian targets by
checking the target endianness and selecting an appropriate `Chdr`
structure.

Fixes PR51369

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

(cherry picked from commit c6ebc651b6fac9cf1d9f8c00ea49d29093003f85)




More information about the All-commits mailing list