mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 12:50:00 +00:00
Updates in IntelJITEventListener.cpp - by Arch Robison.
This patch updates IntelJITEventListener.cpp to account for revision 206654, which removed some methods from DILineInfo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209989 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3871a03035
commit
05db56c676
@ -86,7 +86,7 @@ static LineNumberInfo DILineInfoToIntelJITFormat(uintptr_t StartAddress,
|
||||
LineNumberInfo Result;
|
||||
|
||||
Result.Offset = Address - StartAddress;
|
||||
Result.LineNumber = Line.getLine();
|
||||
Result.LineNumber = Line.Line;
|
||||
|
||||
return Result;
|
||||
}
|
||||
@ -233,7 +233,7 @@ void IntelJITEventListener::NotifyObjectEmitted(const ObjectImage &Obj) {
|
||||
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();
|
||||
|
Loading…
Reference in New Issue
Block a user