mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-10 11:23:52 +00:00
llc: Print+Verify machine function after loading it
In -run-pass mode verify/print machine function immediately after loading the .mir file if -verify-machineinstr/-print-machineinstrs option is specified. llvm-svn: 269014
This commit is contained in:
parent
0663b61e1a
commit
94d6b57130
@ -378,6 +378,7 @@ static int compileModule(char **argv, LLVMContext &Context) {
|
||||
PM.add(TPC);
|
||||
LLVMTM.addMachineModuleInfo(PM);
|
||||
LLVMTM.addMachineFunctionAnalysis(PM, MIR.get());
|
||||
TPC->printAndVerify("");
|
||||
|
||||
Pass *P;
|
||||
if (PI->getTargetMachineCtor())
|
||||
|
Loading…
x
Reference in New Issue
Block a user