[PATCH] D27506: [ELF] - Print absolute file name in errors when possible.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 7 08:49:06 PST 2016


grimar added inline comments.


================
Comment at: ELF/InputFiles.cpp:95
+  std::string Ret = Info.FileName + ":" + std::to_string(Info.Line);
+#ifdef LLVM_ON_WIN32
+  // Converts path to use unix path separators so error message is
----------------
ruiu wrote:
> Add a blank line before #ifdef.
I am going to export convertToUnixPathSeparator from \llvm\tools\lld\lib\Core\Reproduce.cpp as was requested by Rafael and use it here instead.


https://reviews.llvm.org/D27506





More information about the llvm-commits mailing list