[PATCH] D157141: [lld] Sort code section chunks by range types on EC targets.

Jacek Caban via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 4 14:18:04 PDT 2023


jacek created this revision.
jacek added a reviewer: mstorsjo.
Herald added a subscriber: zzheng.
Herald added a project: All.
jacek requested review of this revision.

Instead of having the code all mixed together, it's separated in each section by sorting chunks.

Test assembly looks a bit weird with its unusual alignments and manually generated code map. Those are workarounds for missing features, next patches in the series implement that and make the test look more usual.


https://reviews.llvm.org/D157141

Files:
  lld/COFF/Chunks.h
  lld/COFF/DLL.cpp
  lld/COFF/Writer.cpp
  lld/COFF/Writer.h
  lld/test/COFF/Inputs/loadconfig-arm64ec.s
  lld/test/COFF/arm64ec-codemap.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157141.547347.patch
Type: text/x-patch
Size: 17456 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230804/3bb1b378/attachment.bin>


More information about the llvm-commits mailing list