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