1 // Check that we compile correctly with multiple ARM -arch options. 2 // 3 // RUN: %clang -target arm7-apple-darwin10 -### \ 4 // RUN: -arch armv7 -arch armv7s %s 2>&1 | FileCheck %s 5 6 // CHECK: "-cc1" "-triple" "thumbv7-apple-ios5.0.0" 7 // CHECK-SAME: "-o" "[[CC_OUT1:[^"]*]]" 8 // CHECK:ld{{(\.exe)?}}" {{.*}} "-o" "[[LD_OUT1:[^"]*]]" {{.*}} "[[CC_OUT1]]" 9 // CHECK:"-cc1" "-triple" "thumbv7s-apple-ios5.0.0" 10 // CHECK-SAME: "-o" "[[CC_OUT2:[^"]*]]" 11 // CHECK:ld{{(\.exe)?}}" {{.*}} "-o" "[[LD_OUT2:[^"]*]]" {{.*}} "[[CC_OUT2]]" 12 // CHECK:lipo" 13 // CHECK-DAG: "[[LD_OUT1]]" 14 // CHECK-DAG: "[[LD_OUT2]]" 15