mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-16 08:49:52 +00:00
LTO: Work around libstdc++ version mismatch bug, see D31063 review thread.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298127 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6cf5553d32
commit
dcae6caf46
@ -37,7 +37,10 @@ Expected<NativeObjectCache> lto::localCache(StringRef CacheDirectoryPath,
|
||||
return AddStreamFn();
|
||||
}
|
||||
|
||||
if (MBOrErr.getError() != std::errc::no_such_file_or_directory)
|
||||
// FIXME: Workaround for libstdc++ version mismatch bug, see D31063 review
|
||||
// thread.
|
||||
if ((std::errc)MBOrErr.getError().value() !=
|
||||
std::errc::no_such_file_or_directory)
|
||||
report_fatal_error(Twine("Failed to open cache file ") + EntryPath +
|
||||
": " + MBOrErr.getError().message() + "\n");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user