mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
Revert "Allow remapping the sysroot with -fdebug-prefix-map."
This reverts commit 6725c4836a5b3c11227869a6f456019a244aa29f.
This commit is contained in:
parent
cf318c8826
commit
9009356e95
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user