[PATCH] D51456: [LLD] [COFF] When doing automatic dll imports, replace whole .refptr.<var> chunks with __imp_<var>

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 29 22:19:38 PDT 2018


mstorsjo added inline comments.


================
Comment at: COFF/SymbolTable.cpp:173
+
+  DefinedRegular *Refptr =
+      dyn_cast_or_null<DefinedRegular>(find((".refptr." + Name).str()));
----------------
ruiu wrote:
> This probably needs comment as I believe this is hard to understand for those who don't know what the intention of this code is.
I added some kind of summary in a comment here.


https://reviews.llvm.org/D51456





More information about the llvm-commits mailing list