[PATCH] D105158: [ELF] Preserve section order within an INSERT AFTER command

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 30 09:58:01 PDT 2021


MaskRay updated this revision to Diff 355608.
MaskRay added a comment.

Thanks for the suggestion. Switched to `std::vector<StringRef>`

If we ever care about insert order of SymbolAssignment's, we can think how to address that in the future.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105158/new/

https://reviews.llvm.org/D105158

Files:
  lld/ELF/LinkerScript.cpp
  lld/ELF/LinkerScript.h
  lld/ELF/ScriptParser.cpp
  lld/test/ELF/linkerscript/insert-multi.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105158.355608.patch
Type: text/x-patch
Size: 4306 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210630/6d5873b0/attachment.bin>


More information about the llvm-commits mailing list