You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
581 B

// RUN: %clang -### -fdebug-prefix-map=old %s 2>&1 | FileCheck %s -check-prefix CHECK-INVALID
// RUN: %clang -### -fdebug-prefix-map=old=new %s 2>&1 | FileCheck %s -check-prefix CHECK-SIMPLE
// RUN: %clang -### -fdebug-prefix-map=old=n=ew %s 2>&1 | FileCheck %s -check-prefix CHECK-COMPLEX
// RUN: %clang -### -fdebug-prefix-map=old= %s 2>&1 | FileCheck %s -check-prefix CHECK-EMPTY
// CHECK-INVALID: error: invalid argument 'old' to -fdebug-prefix-map
// CHECK-SIMPLE: fdebug-prefix-map=old=new
// CHECK-COMPLEX: fdebug-prefix-map=old=n=ew
// CHECK-EMPTY: fdebug-prefix-map=old=