OLD | NEW |
1 //===-- NaCl.h - NaCl Analysis ---------------------------*- C++ -*-===// | 1 //===-- NaCl.h - NaCl Analysis ---------------------------*- C++ -*-===// |
2 // | 2 // |
3 // The LLVM Compiler Infrastructure | 3 // The LLVM Compiler Infrastructure |
4 // | 4 // |
5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
7 // | 7 // |
8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
9 | 9 |
10 #ifndef LLVM_ANALYSIS_NACL_H | 10 #ifndef LLVM_ANALYSIS_NACL_H |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 report_fatal_error("PNaCl ABI verification failed"); | 51 report_fatal_error("PNaCl ABI verification failed"); |
52 } | 52 } |
53 } | 53 } |
54 private: | 54 private: |
55 int ErrorCount; | 55 int ErrorCount; |
56 std::string ErrorString; | 56 std::string ErrorString; |
57 raw_string_ostream Errors; | 57 raw_string_ostream Errors; |
58 bool UseFatalErrors; | 58 bool UseFatalErrors; |
59 }; | 59 }; |
60 | 60 |
61 FunctionPass *createPNaClABIVerifyFunctionsPass(PNaClABIErrorReporter * Reporter
); | 61 FunctionPass *createPNaClABIVerifyFunctionsPass( |
62 ModulePass *createPNaClABIVerifyModulePass(PNaClABIErrorReporter * Reporter); | 62 PNaClABIErrorReporter *Reporter, bool AllowDebugMetadata); |
| 63 ModulePass *createPNaClABIVerifyModulePass( |
| 64 PNaClABIErrorReporter *Reporter, bool AllowDebugMetadata); |
63 | 65 |
64 } | 66 } |
65 | 67 |
66 | 68 |
67 #endif | 69 #endif |
OLD | NEW |