diff options
| author | Mitch Phillips <mitchphillips@outlook.com> | 2017-11-09 00:18:31 +0000 |
|---|---|---|
| committer | Mitch Phillips <mitchphillips@outlook.com> | 2017-11-09 00:18:31 +0000 |
| commit | d64af525853ebe92cc794f3abd1f820591add786 (patch) | |
| tree | e5053e32ad7d08ec3b38a3e7ba97a71a2f80922f /llvm/test | |
| parent | fb5ef73460189fa410e2b42fba827d131142ca0e (diff) | |
| download | bcm5719-llvm-d64af525853ebe92cc794f3abd1f820591add786.tar.gz bcm5719-llvm-d64af525853ebe92cc794f3abd1f820591add786.zip | |
[cfi-verify] Adds blacklist blame behaviour to cfi-verify.
Adds the blacklist behaviour to llvm-cfi-verify. Now will calculate which lines caused expected failures in the blacklist and reports the number of affected indirect CF instructions for each blacklist entry.
Also moved DWARF checking after instruction analysis to improve performance significantly - unrolling the inlining stack is expensive.
Reviewers: vlad.tsyrklevich
Subscribers: aprantl, pcc, kcc, llvm-commits
Differential Revision: https://reviews.llvm.org/D39750
llvm-svn: 317743
Diffstat (limited to 'llvm/test')
3 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/tools/llvm-cfi-verify/X86/blacklist-expected-unprotected.s b/llvm/test/tools/llvm-cfi-verify/X86/blacklist-expected-unprotected.s index fbcfcc2a7cc..c7a3daa0776 100644 --- a/llvm/test/tools/llvm-cfi-verify/X86/blacklist-expected-unprotected.s +++ b/llvm/test/tools/llvm-cfi-verify/X86/blacklist-expected-unprotected.s @@ -5,7 +5,7 @@ # CHECK-LABEL: U # CHECK-NEXT: tiny.cc:11 -# CHECK-NEXT: BLACKLIST MATCH, 'src' +# CHECK-NEXT: {{^Blacklist Match:.*blacklist\.txt:1$}} # CHECK-NEXT: ====> Expected Unprotected # CHECK: Expected Protected: 0 (0.00%) diff --git a/llvm/test/tools/llvm-cfi-verify/X86/blacklist-match-fun.s b/llvm/test/tools/llvm-cfi-verify/X86/blacklist-match-fun.s index 3ea829395c4..f46fb926c5f 100644 --- a/llvm/test/tools/llvm-cfi-verify/X86/blacklist-match-fun.s +++ b/llvm/test/tools/llvm-cfi-verify/X86/blacklist-match-fun.s @@ -5,7 +5,7 @@ # CHECK-LABEL: U # CHECK-NEXT: tiny.cc:11 -# CHECK-NEXT: BLACKLIST MATCH, 'fun' +# CHECK-NEXT: {{^Blacklist Match:.*blacklist\.txt:1$}} # CHECK-NEXT: ====> Expected Unprotected # CHECK: Expected Protected: 0 (0.00%) diff --git a/llvm/test/tools/llvm-cfi-verify/X86/blacklist-unexpected-protected.s b/llvm/test/tools/llvm-cfi-verify/X86/blacklist-unexpected-protected.s index c6ddf2b5d11..0fd412416a9 100644 --- a/llvm/test/tools/llvm-cfi-verify/X86/blacklist-unexpected-protected.s +++ b/llvm/test/tools/llvm-cfi-verify/X86/blacklist-unexpected-protected.s @@ -5,7 +5,7 @@ # CHECK-LABEL: P # CHECK-NEXT: tiny.cc:11 -# CHECK-NEXT: BLACKLIST MATCH, 'src' +# CHECK-NEXT: {{^Blacklist Match:.*blacklist\.txt:1$}} # CHECK-NEXT: ====> Unexpected Protected # CHECK: Expected Protected: 0 (0.00%) |

