[PATCH] D81988: [ELF] Refactor ObjFile<ELFT>::initializeSymbols to enforce the invariant: InputFile::symbols has non null entry

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 18 13:07:02 PDT 2020


MaskRay updated this revision to Diff 271815.
MaskRay retitled this revision from "[ELF] Refactor ObjFile<ELFT>::initializeSymbols to keep the invariant: InputFile::symbols has non null entry" to "[ELF] Refactor ObjFile<ELFT>::initializeSymbols to enforce the invariant: InputFile::symbols has non null entry".
MaskRay edited the summary of this revision.
MaskRay added a comment.

Move a diagnostic from Writer to initializeSymbols


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D81988

Files:
  lld/ELF/InputFiles.cpp
  lld/ELF/Writer.cpp
  lld/test/ELF/invalid/symtab-sh-info-dup.test
  lld/test/ELF/invalid/symtab-sh-info.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81988.271815.patch
Type: text/x-patch
Size: 7281 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200618/4e742cde/attachment-0001.bin>


More information about the llvm-commits mailing list