Changeset View
Changeset View
Standalone View
Standalone View
clang/test/Driver/debug-options-as.c
Show All 17 Lines | |||||
// GGDB0-NOT: -debug-info-kind= | // GGDB0-NOT: -debug-info-kind= | ||||
// Check to make sure clang with -g on a .s file gets passed. | // Check to make sure clang with -g on a .s file gets passed. | ||||
// rdar://9275556 | // rdar://9275556 | ||||
// RUN: %clang -### -c -integrated-as -g -x assembler %s 2>&1 \ | // RUN: %clang -### -c -integrated-as -g -x assembler %s 2>&1 \ | ||||
// RUN: | FileCheck %s | // RUN: | FileCheck %s | ||||
// | // | ||||
// CHECK: "-cc1as" | // CHECK: "-cc1as" | ||||
// CHECK: "-debug-info-kind=limited" | // CHECK: "-debug-info-kind=constructor" | ||||
// Check to make sure clang with -g on a .s file gets passed -dwarf-debug-producer. | // Check to make sure clang with -g on a .s file gets passed -dwarf-debug-producer. | ||||
// rdar://12955296 | // rdar://12955296 | ||||
// RUN: %clang -### -c -integrated-as -g -x assembler %s 2>&1 \ | // RUN: %clang -### -c -integrated-as -g -x assembler %s 2>&1 \ | ||||
// RUN: | FileCheck -check-prefix=P %s | // RUN: | FileCheck -check-prefix=P %s | ||||
// | // | ||||
// P: "-cc1as" | // P: "-cc1as" | ||||
// P: "-dwarf-debug-producer" | // P: "-dwarf-debug-producer" |