This was meant to be part of the original commit r358921, but somehow
got lost.
<rdar://problem/
49751748>
llvm-svn: 359010
# 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
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>(