diff options
author | Mitch Phillips <mitchphillips@outlook.com> | 2017-11-03 20:54:26 +0000 |
---|---|---|
committer | Mitch Phillips <mitchphillips@outlook.com> | 2017-11-03 20:54:26 +0000 |
commit | c15bdf5598154277d21cae47cf8dae25b44398ef (patch) | |
tree | 67bebe00d2ed241615e0c76229e453d840fc1b7f /llvm/unittests/tools/llvm-cfi-verify/FileAnalysis.cpp | |
parent | 55435b74271433e1767bb4f6d192f273862ff698 (diff) | |
download | bcm5719-llvm-c15bdf5598154277d21cae47cf8dae25b44398ef.tar.gz bcm5719-llvm-c15bdf5598154277d21cae47cf8dae25b44398ef.zip |
[cfi-verify] Add blacklist parsing for result filtering.
Adds blacklist parsing behaviour for filtering results into four categories:
- Expected Protected: Things that are not in the blacklist and are protected.
- Unexpected Protected: Things that are in the blacklist and are protected.
- Expected Unprotected: Things that are in the blacklist and are unprotected.
- Unexpected Unprotected: Things that are not in the blacklist and are unprotected.
now can optionally be invoked with a second command line argument, which specifies the blacklist file that the binary was built with.
Current statistics for chromium:
Reviewers: vlad.tsyrklevich
Subscribers: mgorny, llvm-commits, pcc, kcc
Differential Revision: https://reviews.llvm.org/D39525
llvm-svn: 317364
Diffstat (limited to 'llvm/unittests/tools/llvm-cfi-verify/FileAnalysis.cpp')
-rw-r--r-- | llvm/unittests/tools/llvm-cfi-verify/FileAnalysis.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/unittests/tools/llvm-cfi-verify/FileAnalysis.cpp b/llvm/unittests/tools/llvm-cfi-verify/FileAnalysis.cpp index a3da1fc3f56..00346ab5a14 100644 --- a/llvm/unittests/tools/llvm-cfi-verify/FileAnalysis.cpp +++ b/llvm/unittests/tools/llvm-cfi-verify/FileAnalysis.cpp @@ -64,6 +64,7 @@ public: class BasicFileAnalysisTest : public ::testing::Test { protected: virtual void SetUp() { + IgnoreDWARFFlag = true; SuccessfullyInitialised = true; if (auto Err = Analysis.initialiseDisassemblyMembers()) { handleAllErrors(std::move(Err), [&](const UnsupportedDisassembly &E) { |