mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 06:30:16 +00:00
llvm-ar: doExtract(): Write extracted files with F_Binary. It should fix llvm/test/Object/extract.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186503 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e8a2742352
commit
946dbd83df
@ -304,7 +304,7 @@ static void doExtract(StringRef Name, object::Archive::child_iterator I) {
|
|||||||
|
|
||||||
int FD;
|
int FD;
|
||||||
failIfError(
|
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());
|
Storage.c_str());
|
||||||
|
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user