xref: /llvm-project/clang/test/Driver/darwin-debug-prefix-map.s (revision f39c399d9d15efe8309d8aa3d0ecf62205e6c474)
1// RUN: env RC_DEBUG_PREFIX_MAP=old=new \
2// RUN:  %clang -target arm64-apple-darwin -### -c -g %s 2>&1 | FileCheck %s
3// RUN: env RC_DEBUG_PREFIX_MAP=illegal \
4// RUN:  not %clang -target arm64-apple-darwin -### -c -g %s 2>&1 | FileCheck %s --check-prefix=ERR
5// CHECK: "-fdebug-prefix-map=old=new"
6// ERR: invalid argument 'illegal'
7