<div dir="ltr"><div><div><div><div><div><div><div>Hi All,<br><br></div>I wrote a very crude and simple AsmParser for my backend. llvm-tablegen also generates asm-matcher .inc file without any error. I have included the .inc file in my class for AsmParser. <br><br></div>However, while building llvm, in linking stage for LTO, i am getting error - undefined reference to functions - ComputeAvailableFeatures, MatchInstructionImpl, MatchRegisterName and convertToMapAndConstraints. <br><br></div>I see these functions declared and defined in GenAsmMatcher.inc file which i have included in my AsmParser class.  Still i am getting the error. I may be missing something very basic. <br><br></div>Can someone please help in resolving this error?<br><br></div>Thanks.<br><br></div>Regards,<br></div>Alex<br></div>