[PATCH] D40408: [LLD] [COFF] Interpret a period as a separator for section suffix just like '$'

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 27 08:59:29 PST 2017


ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.

Nice! LGTM



================
Comment at: COFF/Writer.cpp:322-324
+  // Treat a later period as a separator for MinGW, for sections like
+  // ".ctors.01234".
+  S = S.substr(0, S.find('.', 1));
----------------
nit: add blank lines before and after this code block so that MinGW code looks separated from other code.


https://reviews.llvm.org/D40408





More information about the llvm-commits mailing list