[PATCH] D56013: [ELF] Use SymbolTable::ComdatGroups instead of DummyGroups in LTO

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 21 10:53:39 PST 2018


MaskRay created this revision.
MaskRay added reviewers: xur, ruiu.
Herald added subscribers: llvm-commits, dexonsmith, arichardson, inglorion, emaste.
Herald added a reviewer: espindola.

Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D56013

Files:
  ELF/SymbolTable.cpp


Index: ELF/SymbolTable.cpp
===================================================================
--- ELF/SymbolTable.cpp
+++ ELF/SymbolTable.cpp
@@ -130,9 +130,8 @@
     LTO->add(*F);
 
   for (InputFile *File : LTO->compile()) {
-    DenseSet<CachedHashStringRef> DummyGroups;
     auto *Obj = cast<ObjFile<ELFT>>(File);
-    Obj->parse(DummyGroups);
+    Obj->parse(ComdatGroups);
     for (Symbol *Sym : Obj->getGlobalSymbols())
       Sym->parseSymbolVersion();
     ObjectFiles.push_back(File);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56013.179315.patch
Type: text/x-patch
Size: 498 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181221/c6a4f467/attachment.bin>


More information about the llvm-commits mailing list