1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00

Revert "Allow remapping the sysroot with -fdebug-prefix-map."

This reverts commit 6725c4836a5b3c11227869a6f456019a244aa29f.
This commit is contained in:
Adrian Prantl 2020-03-20 16:27:23 -07:00
parent cf318c8826
commit 9009356e95

View File

@ -1914,15 +1914,6 @@ static uint64_t getDwoId(const DWARFDie &CUDie, const DWARFUnit &Unit) {
return 0;
}
static std::string remapPath(std::string Path,
const objectPrefixMap &ObjectPrefixMap) {
StringRef PathRef(Path);
for (const auto &Entry : ObjectPrefixMap)
if (PathRef.startswith(Entry.first))
return (Twine(Entry.second) + PathRef.substr(Entry.first.size())).str();
return Path;
}
bool DWARFLinker::registerModuleReference(
DWARFDie CUDie, const DWARFUnit &Unit, const DwarfFile &File,
OffsetsStringPool &StringPool, UniquingStringPool &UniquingStringPool,