HomePhabricator

[COFF] Fix to not add archive name to buffer identifiers when they come

Description

[COFF] Fix to not add archive name to buffer identifiers when they come
from thin archives.

Currently lld adds the archive name to MemoryBufferRef identifiers in order to
ensure they are unique. For thin archives, since the file name is already unique and we
want to keep the original path to the file, don't add the archive name.

Differential Revision: https://reviews.llvm.org/D67295

Details

Committed
akhuangSep 12 2019, 3:04 PM
Differential Revision
D67295: [COFF] Fix to not add archive name to buffer identifiers when they come from thin archives.
Parents
rL371777: Remove a duplicate test
Branches
Unknown
Tags
Unknown