1 RUN: rm -rf %t.dir && mkdir %t.dir && mkdir %t.dir/ModuleCacheRenamed
2 RUN: cp %p/../Inputs/module-warnings/1.o %t.dir
3 RUN: cp %p/../Inputs/module-warnings/Foo.pcm %t.dir/ModuleCacheRenamed
5 RUN: dsymutil -verify -f -oso-prepend-path=%t.dir -y \
6 RUN: %p/dummy-debug-map.map -o %t \
7 RUN: -object-prefix-map=/ModuleCache=/ModuleCacheRenamed \
8 RUN: 2>&1 | FileCheck %s
10 RUN: dsymutil --linker llvm -verify -f -oso-prepend-path=%t.dir -y \
11 RUN: %p/dummy-debug-map.map -o %t \
12 RUN: -object-prefix-map=/ModuleCache=/ModuleCacheRenamed \
13 RUN: 2>&1 | FileCheck %s
15 CHECK: warning: {{.*}}Bar.pcm:
16 CHECK-NOT: warning: {{.*}}Foo.pcm: