aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cfi-verify/lib/FileAnalysis.h
diff options
context:
space:
mode:
authorMitch Phillips <mitchphillips@outlook.com>2017-10-23 20:54:01 +0000
committerMitch Phillips <mitchphillips@outlook.com>2017-10-23 20:54:01 +0000
commitd9af383d58ef8b0b4e9a65af862cae61d99ca44c (patch)
tree4ecba5d89201bcd8e168b2a19b9418e2c5cc013a /llvm/tools/llvm-cfi-verify/lib/FileAnalysis.h
parent8a0e4bc97283dfb9f101b5dc0aefd01dc0937b4f (diff)
downloadllvm-d9af383d58ef8b0b4e9a65af862cae61d99ca44c.zip
llvm-d9af383d58ef8b0b4e9a65af862cae61d99ca44c.tar.gz
llvm-d9af383d58ef8b0b4e9a65af862cae61d99ca44c.tar.bz2
Made llvm-cfi-verify not execute unit tests on non-x86 builds.
Patched out from D38427. Reviewers: vlad.tsyrklevich Reviewed By: vlad.tsyrklevich Subscribers: llvm-commits, kcc, pcc, mgorny Differential Revision: https://reviews.llvm.org/D39197 llvm-svn: 316375
Diffstat (limited to 'llvm/tools/llvm-cfi-verify/lib/FileAnalysis.h')
-rw-r--r--llvm/tools/llvm-cfi-verify/lib/FileAnalysis.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/tools/llvm-cfi-verify/lib/FileAnalysis.h b/llvm/tools/llvm-cfi-verify/lib/FileAnalysis.h
index 3c24bcd..803eeee 100644
--- a/llvm/tools/llvm-cfi-verify/lib/FileAnalysis.h
+++ b/llvm/tools/llvm-cfi-verify/lib/FileAnalysis.h
@@ -171,6 +171,9 @@ private:
class UnsupportedDisassembly : public ErrorInfo<UnsupportedDisassembly> {
public:
static char ID;
+ std::string Text;
+
+ UnsupportedDisassembly(StringRef Text);
void log(raw_ostream &OS) const override;
std::error_code convertToErrorCode() const override;