[PATCH] D50995: [COFF] Expose a easier helper function for getting names for relocation types

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 22 00:35:54 PDT 2018


ruiu accepted this revision.
ruiu added a comment.

LGTM



================
Comment at: lib/Object/COFFObjectFile.cpp:1179
   case COFF::reloc_type:                                                       \
-    Res = #reloc_type;                                                         \
-    break;
+    return #reloc_type;                                                         \
 
----------------
Remove the trailing backslash.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D50995





More information about the llvm-commits mailing list