[PATCH] Add methods to get archive file name from member file

Shankar Kalpathi Easwaran shankarke at gmail.com
Thu Feb 5 14:35:54 PST 2015


================
Comment at: lib/ReaderWriter/FileArchive.cpp:206
@@ -205,3 +205,3 @@
     result = std::move(files[0]);
     if (std::error_code ec = result->parse())
       return ec;
----------------
shankarke wrote:
> There is still an issue that if there was a parse error, diagnostics will not show the proper error. Say the file was of a different architecture. I remember this was the reason I created ArchiveMemoryBuffer.
What I meant here, is that diagnostics will not show the full path of the file, where there was an error.

http://reviews.llvm.org/D7447

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list