comparison tools/bugpoint-passes/TestPasses.cpp @ 134:3a76565eade5 LLVM5.0.1

update 5.0.1
author mir3636
date Sat, 17 Feb 2018 09:57:20 +0900
parents 7d135dc70f03
children c2174574ed3a
comparison
equal deleted inserted replaced
133:c60214abe0e8 134:3a76565eade5
97 char CrashOnDeclFunc::ID = 0; 97 char CrashOnDeclFunc::ID = 0;
98 static RegisterPass<CrashOnDeclFunc> 98 static RegisterPass<CrashOnDeclFunc>
99 Z("bugpoint-crash-decl-funcs", 99 Z("bugpoint-crash-decl-funcs",
100 "BugPoint Test Pass - Intentionally crash on declared functions"); 100 "BugPoint Test Pass - Intentionally crash on declared functions");
101 101
102 #include <iostream>
103 namespace { 102 namespace {
104 /// CrashOnOneCU - This pass is used to test bugpoint. It intentionally 103 /// CrashOnOneCU - This pass is used to test bugpoint. It intentionally
105 /// crashes if the Module has two or more compile units 104 /// crashes if the Module has two or more compile units
106 class CrashOnTooManyCUs : public ModulePass { 105 class CrashOnTooManyCUs : public ModulePass {
107 public: 106 public: