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

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 18 12:34:30 PDT 2020


MaskRay updated this revision to Diff 271806.
MaskRay retitled this revision from "[ELF] Fix a dyn_cast<Defined>(nullptr) crash if a local symbol appears in InputFile::symbols" to "[ELF] Refactor ObjFile<ELFT>::initializeSymbols to keep the invariant: InputFile::symbols has non null entry".
MaskRay edited the summary of this revision.
MaskRay added a comment.

Refactor ObjFile<ELFT>::initializeSymbols instead


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/test/ELF/invalid/symtab-sh-info-dup.test

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


More information about the llvm-commits mailing list