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:  %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