OSDN Git Service

Revert r251593.
authorDiego Novillo <dnovillo@google.com>
Thu, 29 Oct 2015 16:20:38 +0000 (16:20 +0000)
committerDiego Novillo <dnovillo@google.com>
Thu, 29 Oct 2015 16:20:38 +0000 (16:20 +0000)
The patch in r251593 was only papering over the problem. The actual fix
was committed in r251623.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251635 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/SampleProfile/coverage-warning.ll

index 4728368..f960680 100644 (file)
@@ -3,7 +3,7 @@ define i32 @foo(i32 %i) {
 ; The profile has samples for line locations that are no longer present.
 ; Coverage does not reach 90%, so we should get this warning:
 ;
-; CHECK: warning: {{.*}}:1: 2 of 3 available profile records (66%) were applied
+; CHECK: warning: coverage-warning.c:1: 2 of 3 available profile records (66%) were applied
 entry:
   %retval = alloca i32, align 4
   %i.addr = alloca i32, align 4