[llvm] r209989 - Updates in IntelJITEventListener.cpp - by Arch Robison.
Elena Demikhovsky
elena.demikhovsky at intel.com
Sun Jun 1 01:45:12 PDT 2014
Author: delena
Date: Sun Jun 1 03:45:11 2014
New Revision: 209989
URL: http://llvm.org/viewvc/llvm-project?rev=209989&view=rev
Log:
Updates in IntelJITEventListener.cpp - by Arch Robison.
This patch updates IntelJITEventListener.cpp to account for revision 206654, which removed some methods from DILineInfo.
Modified:
llvm/trunk/lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener.cpp
Modified: llvm/trunk/lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener.cpp?rev=209989&r1=209988&r2=209989&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener.cpp Sun Jun 1 03:45:11 2014
@@ -86,7 +86,7 @@ static LineNumberInfo DILineInfoToIntelJ
LineNumberInfo Result;
Result.Offset = Address - StartAddress;
- Result.LineNumber = Line.getLine();
+ Result.LineNumber = Line.Line;
return Result;
}
@@ -233,7 +233,7 @@ void IntelJITEventListener::NotifyObject
FunctionMessage.line_number_size = 0;
FunctionMessage.line_number_table = 0;
} else {
- SourceFileName = Lines.front().second.getFileName();
+ SourceFileName = Lines.front().second.FileName;
FunctionMessage.source_file_name = const_cast<char *>(SourceFileName.c_str());
FunctionMessage.line_number_size = LineInfo.size();
FunctionMessage.line_number_table = &*LineInfo.begin();
More information about the llvm-commits
mailing list