[PATCH] D19496: [ELF][MIPS] Handle GOT entries for all non-local symbols uniformly

Adhemerval Zanella via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 26 06:10:32 PDT 2016


zatrazz added a subscriber: zatrazz.

================
Comment at: ELF/OutputSections.h:139
@@ -136,1 +138,3 @@
+  };
+  std::vector<std::pair<EntryKind, SymbolBody *>> Entries;
   uint32_t TlsIndexOff = -1;
----------------
On my TLS descriptor patch [1], after some discussion I changed the approach of using a vector of vectors to just define the required vectors instead (one for each type). I think using a vector for each type simplifies the code, since it won't require sorting in the finalize method.

[1] http://reviews.llvm.org/D18960


Repository:
  rL LLVM

http://reviews.llvm.org/D19496





More information about the llvm-commits mailing list