xref: /aosp_15_r20/external/clang/test/Driver/debug-prefix-map.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin Li // RUN: %clang -### -fdebug-prefix-map=old %s 2>&1 | FileCheck %s -check-prefix CHECK-INVALID
2*67e74705SXin Li // RUN: %clang -### -fdebug-prefix-map=old=new %s 2>&1 | FileCheck %s -check-prefix CHECK-SIMPLE
3*67e74705SXin Li // RUN: %clang -### -fdebug-prefix-map=old=n=ew %s 2>&1 | FileCheck %s -check-prefix CHECK-COMPLEX
4*67e74705SXin Li // RUN: %clang -### -fdebug-prefix-map=old= %s 2>&1 | FileCheck %s -check-prefix CHECK-EMPTY
5*67e74705SXin Li 
6*67e74705SXin Li // CHECK-INVALID: error: invalid argument 'old' to -fdebug-prefix-map
7*67e74705SXin Li // CHECK-SIMPLE: fdebug-prefix-map=old=new
8*67e74705SXin Li // CHECK-COMPLEX: fdebug-prefix-map=old=n=ew
9*67e74705SXin Li // CHECK-EMPTY: fdebug-prefix-map=old=
10