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

Simon Atanasyan via All-commits all-commits at lists.llvm.org
Sat Aug 7 03:20:43 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c6ebc651b6fac9cf1d9f8c00ea49d29093003f85
      https://github.com/llvm/llvm-project/commit/c6ebc651b6fac9cf1d9f8c00ea49d29093003f85
  Author: Simon Atanasyan <simon at atanasyan.com>
  Date:   2021-08-07 (Sat, 07 Aug 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




More information about the All-commits mailing list