Skip to content

Commit 3fd65dd

Browse files
committed
[Demangler][Tests] Fix linker path to use target-sdk-name.
The swift library directory is named using the SDK name, not the ABI name; this shows up on iphonesimulator builds, where the two are different.
1 parent 4b2e316 commit 3fd65dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Demangle/objc-getclass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %empty-directory(%t)
2-
// RUN: %target-clang %s -isysroot %sdk -L%swift_obj_root/lib/swift/%target-os-abi -lswiftCore -o %t/objc-getclass
2+
// RUN: %target-clang %s -isysroot %sdk -L%swift_obj_root/lib/swift/%target-sdk-name -lswiftCore -o %t/objc-getclass
33
// RUN: %target-codesign %t/objc-getclass
44
// RUN: %target-run %t/objc-getclass %S/Inputs/objc-getclass.txt
55

0 commit comments

Comments
 (0)