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