[PATCH] Add methods to get archive file name from member file
ruiu at google.com
Thu Feb 5 14:15:33 PST 2015
Comment at: include/lld/Core/File.h:65
@@ -62,1 +64,3 @@
+ return *new (_allocator) std::string(
+ (_archivePath + "(" + _path + ")").str());
> Could we cache this path.
We could, but the cache needs to be invalidated when _archivePath is updated. This is used only for logging and debugging, I think we don't need to do that.
More information about the llvm-commits