[PATCH] D61388: lld-link: Make "duplicate resource" error message a bit more concise

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 1 18:50:44 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rLLD359749: lld-link: Make "duplicate resource" error message a bit more concise (authored by nico, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D61388?vs=197585&id=197688#toc

Repository:
  rLLD LLVM Linker

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61388/new/

https://reviews.llvm.org/D61388

Files:
  COFF/DriverUtils.cpp


Index: COFF/DriverUtils.cpp
===================================================================
--- COFF/DriverUtils.cpp
+++ COFF/DriverUtils.cpp
@@ -746,7 +746,7 @@
     if (!RF)
       fatal("cannot compile non-resource file as resource");
     if (auto EC = Parser.parse(RF))
-      fatal("failed to parse .res file: " + toString(std::move(EC)));
+      fatal(toString(std::move(EC)));
   }
 
   Expected<std::unique_ptr<MemoryBuffer>> E =


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61388.197688.patch
Type: text/x-patch
Size: 443 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190502/58b13600/attachment.bin>


More information about the llvm-commits mailing list