forked from jeremyhu/llvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dsymutil: Only warn about missing clang modules once.
rdar://problem/22269336 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257664 91177308-0d34-0410-b5e6-96231b3b80d8
- Loading branch information
1 parent
307c714
commit f6ffec9
Showing
3 changed files
with
13 additions
and
3 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters