[PATCH] D57974: [lld-link] better error message when failing to open archive members

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 8 13:46:29 PST 2019


ruiu added inline comments.


================
Comment at: lld/COFF/Driver.cpp:228-230
+  auto ReportBufferError = [](Error &&E,
+                              StringRef SymName,
+                              StringRef ParentName,
----------------
I wouldn't pass SymName and ParentName and just capture them using `[&]`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D57974





More information about the llvm-commits mailing list