[PATCH] D10983: [lld] COFF: Set parent name for bitcode files.

Rui Ueyama ruiu at google.com
Wed Jul 8 11:07:41 PDT 2015


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

LGTM


================
Comment at: COFF/Symbols.cpp:228-232
@@ -230,1 +227,7 @@
+  std::unique_ptr<InputFile> Obj;
+  if (Magic == file_magic::coff_object)
+    Obj.reset(new ObjectFile(MBRef));
+  else if (Magic == file_magic::bitcode)
+    Obj.reset(new BitcodeFile(MBRef));
+  else {
     llvm::errs() << File->getName() << ": unknown file type\n";
----------------
Add braces


http://reviews.llvm.org/D10983







More information about the llvm-commits mailing list