#include "llvm/ADT/StringExtras.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DebugInfoMetadata.h"
#include "llvm/IR/Module.h"
#include "llvm/InitializePasses.h"
#include "llvm/Pass.h"
#define DEBUG_TYPE …
usingnamespacellvm;
namespace {
struct CheckDebugMachineModule : public ModulePass { … };
char CheckDebugMachineModule::ID = …;
}
INITIALIZE_PASS_BEGIN(CheckDebugMachineModule, DEBUG_TYPE,
"Machine Check Debug Module", false, false)
INITIALIZE_PASS_END(CheckDebugMachineModule, DEBUG_TYPE,
"Machine Check Debug Module", false, false)
ModulePass *llvm::createCheckDebugMachineModulePass() { … }