[PATCH] D120626: [ELF] Move section assignment from initializeSymbols to postParse

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 11 00:02:17 PST 2022


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

Move duplicates from LinkerDriver to a new struct Ctx

Ctx has short name because we may use it in many functions' signatures in the future.
Using LinkerDriver for global states may look a bit weird


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120626

Files:
  lld/ELF/Config.h
  lld/ELF/Driver.cpp
  lld/ELF/InputFiles.cpp
  lld/ELF/Relocations.cpp
  lld/ELF/Symbols.cpp
  lld/ELF/Symbols.h
  lld/docs/ReleaseNotes.rst
  lld/test/ELF/comdat-binding.s
  lld/test/ELF/comdat-discarded-error.s
  lld/test/ELF/comdat-discarded-lazy.s
  lld/test/ELF/duplicated-synthetic-sym.s
  lld/test/ELF/exclude-discarded-error2.s
  lld/test/ELF/lto/comdat-mixed-archive.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120626.414598.patch
Type: text/x-patch
Size: 16715 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220311/eb1eb178/attachment.bin>


More information about the llvm-commits mailing list