<div dir="ltr"><div>Hello everyone!<br><br></div><div>There is segmentation fault during translating a simple function with my backend. Investigation with gdb has shown that address of InstrNameData array in generated file MyTargetGenInstrInfo.inc is out of bounds. Also, if I run llc without <tt class=""><span class="">-view-dag</span></tt> options, NumOpcodes equals 0 inside llvm::MCInstrInfo::get function, although  there are some instructions (they are appeared in MyTargetGenInstrInfo.inc file).<br>
<br></div><div>File MyTargetMCTargetDesc.cpp contains createMyTargetMcInstrInfo() function and appropriate RegisterMCInstrInfo() call.<br></div><div><br>Could someone, please, advise me what can I do with it?<br><br>Regards,<br>
Vadim.<br>
</div></div>