forked from OSchip/llvm-project
[clang][test] fix tests for external assemblers
These three tests depend on using the integrated assembler. Make it explicit by specifying -fintegrated-as.
This commit is contained in:
parent
3a2df3bad0
commit
9a8d7bd770
|
@ -1,5 +1,5 @@
|
|||
// RUN: %clang -### -g -fdebug-prefix-map=old=new %s 2>&1 | FileCheck %s
|
||||
// RUN: %clang -### -g -ffile-prefix-map=old=new %s 2>&1 | FileCheck %s
|
||||
// RUN: %clang -### -g -fintegrated-as -fdebug-prefix-map=old=new %s 2>&1 | FileCheck %s
|
||||
// RUN: %clang -### -g -fintegrated-as -ffile-prefix-map=old=new %s 2>&1 | FileCheck %s
|
||||
|
||||
// CHECK: cc1as
|
||||
// CHECK-SAME: -fdebug-prefix-map=old=new
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
! CHECK-S-DAG: "-S"
|
||||
! CHECK-S-DAG: "-o" "{{[^"]*}}.s"
|
||||
|
||||
! RUN: %clang --driver-mode=flang -### %s 2>&1 | FileCheck --check-prefixes=ALL,CHECK-EMIT-OBJ %s
|
||||
! RUN: %clang --driver-mode=flang -### -fintegrated-as %s 2>&1 | FileCheck --check-prefixes=ALL,CHECK-EMIT-OBJ %s
|
||||
! CHECK-EMIT-OBJ-DAG: "-emit-obj"
|
||||
! CHECK-EMIT-OBJ-DAG: "-o" "{{[^"]*}}.o"
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
! CHECK-S-DAG: "-S"
|
||||
! CHECK-S-DAG: "-o" "{{[^"]*}}.s"
|
||||
|
||||
! RUN: %clang --driver-mode=flang -### %s 2>&1 | FileCheck --check-prefixes=ALL,CHECK-EMIT-OBJ %s
|
||||
! RUN: %clang --driver-mode=flang -### -fintegrated-as %s 2>&1 | FileCheck --check-prefixes=ALL,CHECK-EMIT-OBJ %s
|
||||
! CHECK-EMIT-OBJ-DAG: "-emit-obj"
|
||||
! CHECK-EMIT-OBJ-DAG: "-o" "{{[^"]*}}.o"
|
||||
|
||||
|
|
Loading…
Reference in New Issue