mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
28 lines
680 B
C++
28 lines
680 B
C++
/// \file ABIDetectionPass.cpp
|
|
|
|
//
|
|
// This file is distributed under the MIT License. See LICENSE.md for details.
|
|
//
|
|
|
|
#include "llvm/Support/CommandLine.h"
|
|
|
|
#include "revng/EarlyFunctionAnalysis/ABIDetectionPass.h"
|
|
|
|
using namespace llvm;
|
|
using namespace llvm::cl;
|
|
|
|
namespace EarlyFunctionAnalysis {
|
|
|
|
char ABIDetectionPass::ID = 0;
|
|
using Register = RegisterPass<ABIDetectionPass>;
|
|
static Register X("detect-abi", "ABI Detection Pass", true, true);
|
|
|
|
bool ABIDetectionPass::runOnModule(Module &M) {
|
|
auto &GCBI = getAnalysis<GeneratedCodeBasicInfoWrapperPass>().getGCBI();
|
|
auto &EFA = getAnalysis<EarlyFunctionAnalysis>();
|
|
|
|
return false;
|
|
}
|
|
|
|
} // namespace EarlyFunctionAnalysis
|