diff options
| author | Adrian Prantl <aprantl@apple.com> | 2016-01-13 20:26:00 +0000 |
|---|---|---|
| committer | Adrian Prantl <aprantl@apple.com> | 2016-01-13 20:26:00 +0000 |
| commit | 307bd21f49628ba860605f1beda5e0bb03ae3b1b (patch) | |
| tree | 28205f4f58c4fc3a9f712296df21ccbf575d8624 /llvm/test | |
| parent | 96ace11d119448579a5b574dc3550228c64591b5 (diff) | |
| download | bcm5719-llvm-307bd21f49628ba860605f1beda5e0bb03ae3b1b.tar.gz bcm5719-llvm-307bd21f49628ba860605f1beda5e0bb03ae3b1b.zip | |
dsymutil: Only warn about missing clang modules once.
rdar://problem/22269336
llvm-svn: 257664
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/tools/dsymutil/Inputs/modules/Foo.pcm | bin | 26060 -> 26060 bytes | |||
| -rw-r--r-- | llvm/test/tools/dsymutil/X86/modules-warnings.test | 12 |
2 files changed, 12 insertions, 0 deletions
diff --git a/llvm/test/tools/dsymutil/Inputs/modules/Foo.pcm b/llvm/test/tools/dsymutil/Inputs/modules/Foo.pcm Binary files differindex 4a39a06c24d..ff6b2ad308b 100644 --- a/llvm/test/tools/dsymutil/Inputs/modules/Foo.pcm +++ b/llvm/test/tools/dsymutil/Inputs/modules/Foo.pcm diff --git a/llvm/test/tools/dsymutil/X86/modules-warnings.test b/llvm/test/tools/dsymutil/X86/modules-warnings.test new file mode 100644 index 00000000000..5452cdb7b0b --- /dev/null +++ b/llvm/test/tools/dsymutil/X86/modules-warnings.test @@ -0,0 +1,12 @@ +Test for module-related warnings. +This reuses the files from the modules.m testcase. + +RUN: rm -rf %t.dir && mkdir %t.dir +RUN: cp %p/../Inputs/modules/1.o %p/../Inputs/modules/Foo.pcm %t.dir + +RUN: llvm-dsymutil -f -oso-prepend-path=%t.dir -y \ +RUN: %p/dummy-debug-map.map -o %t 2>&1 | FileCheck %s + +Module-not-found should be reported only once. +CHECK: warning: {{.*}}Bar.pcm: No such file or directory +CHECK-NOT: warning: {{.*}}Bar.pcm: No such file or directory |

