mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-21 11:15:33 +00:00
llvm-ar: doExtract(): Write extracted files with F_Binary. It should fix llvm/test/Object/extract.ll
llvm-svn: 186503
This commit is contained in:
parent
ab07390e4a
commit
d1d48ff2e9
@ -304,7 +304,7 @@ static void doExtract(StringRef Name, object::Archive::child_iterator I) {
|
||||
|
||||
int FD;
|
||||
failIfError(
|
||||
sys::fs::openFileForWrite(Storage.c_str(), FD, sys::fs::F_None, Mode),
|
||||
sys::fs::openFileForWrite(Storage.c_str(), FD, sys::fs::F_Binary, Mode),
|
||||
Storage.c_str());
|
||||
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user