Displaying 1 result from an estimated 1 matches for "getlineno".
Did you mean:
get_lineno
2011 Feb 04
1
[LLVMdev] PareAssemblyFile returning "expected top-level entity" error message
...e("code.s", error, getGlobalContext());
displayErrorInfo(error);
void displayErrorInfo(SMDiagnostic& err)
{
std::string errFileName = err.getFilename();
std::string errMsg = err.getMessage();
std::string errLineContents = err.getLineContents();
int errLineNo = err.getLineNo(), errColNo = err.getColumnNo();
std::cout << "Error File Name: "<< errFileName << std::endl;
std::cout << "Error Message: " << errMsg << std::endl;
std::cout << "Error Line number: " << errLineNo << &qu...