Similar to previous cleanup. While changing mips* tests, change some -no-integrated-as to the recommended -fno-integrated-as.
13 lines
665 B
C
13 lines
665 B
C
// RUN: %clang --target=s390x -c -### %s -mnop-mcount -mrecord-mcount 2>&1 | FileCheck %s
|
|
|
|
// CHECK: "-mnop-mcount"
|
|
// CHECK: "-mrecord-mcount"
|
|
|
|
// RUN: not %clang --target=x86_64 -c -### %s -mnop-mcount -mrecord-mcount 2>&1 | FileCheck --check-prefix=ERR1 %s
|
|
// RUN: not %clang --target=aarch64 -c -### %s -mnop-mcount -mrecord-mcount 2>&1 | FileCheck --check-prefix=ERR2 %s
|
|
|
|
// ERR1: error: unsupported option '-mnop-mcount' for target 'x86_64'
|
|
// ERR1: error: unsupported option '-mrecord-mcount' for target 'x86_64'
|
|
// ERR2: error: unsupported option '-mnop-mcount' for target 'aarch64'
|
|
// ERR2: error: unsupported option '-mrecord-mcount' for target 'aarch64'
|