mirror of
https://github.com/RPCS3/llvm.git
synced 2025-03-04 16:47:41 +00:00
[dsymutil] Put Swift interface files into a per-arch subdirectory.
This was meant to be part of the original commit r358921, but somehow got lost. <rdar://problem/49751748> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359010 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bd11c290c4
commit
9a94283566
@ -8,7 +8,7 @@
|
||||
# RUN: echo "// module Foo" >%t.dir/Foo/x86_64.swiftinterface
|
||||
# RUN: dsymutil -oso-prepend-path %t.dir -y %s \
|
||||
# RUN: -o %t.dir/swift-interface.dSYM
|
||||
# RUN: cat %t.dir/swift-interface.dSYM/Contents/Resources/Swift/Foo.swiftinterface \
|
||||
# RUN: cat %t.dir/swift-interface.dSYM/Contents/Resources/Swift/x86_64/Foo.swiftinterface \
|
||||
# RUN: | FileCheck %s --check-prefix=INTERFACE
|
||||
|
||||
# WARNINGS: cannot copy parseable Swift interface
|
||||
|
@ -2497,7 +2497,7 @@ static Error copySwiftInterfaces(
|
||||
std::error_code EC;
|
||||
SmallString<128> InputPath;
|
||||
SmallString<128> Path;
|
||||
sys::path::append(Path, *Options.ResourceDir, "Swift");
|
||||
sys::path::append(Path, *Options.ResourceDir, "Swift", Architecture);
|
||||
if ((EC = sys::fs::create_directories(Path.str(), true,
|
||||
sys::fs::perms::all_all)))
|
||||
return make_error<StringError>(
|
||||
|
Loading…
x
Reference in New Issue
Block a user