[PATCH] D24492: [LTO] Switch to the new resolution-based API.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 28 11:02:28 PDT 2016


ruiu added inline comments.

================
Comment at: lld/ELF/Error.h:38
@@ +37,3 @@
+  handleAllErrors(std::move(E), [&](llvm::ErrorInfoBase &EIB) {
+    error(EIB.message().c_str());
+    return Error::success();
----------------
Do you need c_str()?


https://reviews.llvm.org/D24492





More information about the llvm-commits mailing list