[PATCH] [lld] Add ArchiveMemoryBuffer.
Shankar Kalpathi Easwaran
shankarke at gmail.com
Thu Feb 5 13:14:08 PST 2015
I agree this has to be cleaned up, we could create a convenient function in lld::File that returns the file.path() + "(" + member.path() + ")". I will call it decorated path.
The reason the decorated path is recorded as the buffer identifier is it uniquely identifies the buffer.
File::path() always returns the BufferIdentifer.
File::archiveName() returns the archive name.
File::memberName() returns the membername.
What do you think ?
More information about the llvm-commits