[PATCH] D27213: [LLD][ARM] Add support for static TLS to ARM

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 29 08:00:42 PST 2016


ruiu added inline comments.


================
Comment at: ELF/Relocations.cpp:97
     typename ELFT::uint Offset, typename ELFT::uint Addend, RelExpr Expr) {
+  typedef typename ELFT::uint uintX_t;
+  auto addModuleReloc = [](SymbolBody &Body, GOT *Got, uintX_t Off, bool LD) {
----------------
Code looks fine, but it needs comments for future readers as to why we need this.


https://reviews.llvm.org/D27213





More information about the llvm-commits mailing list