diff options
author | Derek Schuff <dschuff@chromium.org> | 2013-01-18 14:41:11 -0800 |
---|---|---|
committer | Derek Schuff <dschuff@chromium.org> | 2013-01-18 14:41:11 -0800 |
commit | 958cd97d295ba41736615e33c4a1aa641989133e (patch) | |
tree | 3c47d5f6482709973da6136e84181e3546145c4a /include/llvm | |
parent | afd5ec31850faae645dabe3f83f869643cd7b0c5 (diff) |
Move ABI verifier pass declaration to lib/Analysis and add tests
This fixes the move of the verifier passes from lib/Transforms to
lib/Analysis, and adds tests of the current verifier checks.
No new functionality.
R=jvoung@chromium.org,eliben@chromium.org,mseaborn@chromium.org
BUG= https://code.google.com/p/nativeclient/issues/detail?id=2196
Review URL: https://codereview.chromium.org/12017019
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Analysis/NaCl.h | 23 | ||||
-rw-r--r-- | include/llvm/Transforms/NaCl.h | 3 |
2 files changed, 23 insertions, 3 deletions
diff --git a/include/llvm/Analysis/NaCl.h b/include/llvm/Analysis/NaCl.h new file mode 100644 index 0000000000..5f8c534c6f --- /dev/null +++ b/include/llvm/Analysis/NaCl.h @@ -0,0 +1,23 @@ +//===-- NaCl.h - NaCl Analysis ---------------------------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_ANALYSIS_NACL_H +#define LLVM_ANALYSIS_NACL_H + +namespace llvm { + +class FunctionPass; +class ModulePass; + +FunctionPass *createPNaClABIVerifyFunctionsPass(); +ModulePass *createPNaClABIVerifyModulePass(); + +} + +#endif diff --git a/include/llvm/Transforms/NaCl.h b/include/llvm/Transforms/NaCl.h index ecdfa9043f..79c9b9fe79 100644 --- a/include/llvm/Transforms/NaCl.h +++ b/include/llvm/Transforms/NaCl.h @@ -12,14 +12,11 @@ namespace llvm { -class FunctionPass; class ModulePass; ModulePass *createExpandCtorsPass(); ModulePass *createExpandTlsPass(); ModulePass *createExpandTlsConstantExprPass(); -FunctionPass *createPNaClABIVerifyFunctionsPass(); -ModulePass *createPNaClABIVerifyModulePass(); } |