2012-12-11 13:52:24 +08:00
|
|
|
// RUN: %clang -### -c -integrated-as %s 2>&1 | FileCheck %s
|
|
|
|
// CHECK: cc1as
|
|
|
|
// CHECK-NOT: -relax-all
|
2013-07-26 05:19:01 +08:00
|
|
|
|
2013-09-27 05:00:51 +08:00
|
|
|
// RUN: %clang -### -c -integrated-as -Wa,-L %s 2>&1 | FileCheck --check-prefix=OPT_L %s
|
|
|
|
// OPT_L: msave-temp-labels
|
|
|
|
|
2013-07-26 22:10:55 +08:00
|
|
|
// RUN: not %clang -c -integrated-as -Wa,--compress-debug-sections %s 2>&1 | FileCheck --check-prefix=INVALID %s
|
2013-07-26 05:19:01 +08:00
|
|
|
// INVALID: error: unsupported argument '--compress-debug-sections' to option 'Wa,'
|
2013-08-19 17:14:21 +08:00
|
|
|
|
2013-08-19 17:45:19 +08:00
|
|
|
// RUN: %clang -### -target x86_64-linux-gnu -c -integrated-as %s -fsanitize=address 2>&1 %s | FileCheck --check-prefix=SANITIZE %s
|
2013-08-19 17:14:21 +08:00
|
|
|
// SANITIZE: argument unused during compilation: '-fsanitize=address'
|