search for: errlinecont

Displaying 1 result from an estimated 1 matches for "errlinecont".

2011 Feb 04
1
[LLVMdev] PareAssemblyFile returning "expected top-level entity" error message
...pModule; SMDiagnostic error; topModule = ParseAssemblyFile("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 <<...