[PATCH] D107635: [LLD] Support compressed input sections on big-endian targets

Simon Atanasyan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 6 03:57:05 PDT 2021


atanasyan created this revision.
atanasyan added reviewers: MaskRay, emaste, grimar.
Herald added a subscriber: arichardson.
atanasyan requested review of this revision.
Herald added a project: LLVM.

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

Fixes PR51369


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D107635

Files:
  lld/ELF/InputSection.cpp
  lld/ELF/InputSection.h
  lld/test/ELF/compressed-debug-input-err.s
  lld/test/ELF/compressed-debug-input.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107635.364744.patch
Type: text/x-patch
Size: 5194 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210806/009bfb89/attachment.bin>


More information about the llvm-commits mailing list