mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +00:00
DWARF: Put all the pieces we have together and provide a single accessor to DIContext that provides line information when given an address.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139836 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -122,7 +122,9 @@ DWARFDebugLine::getOrParseLineTable(DataExtractor debug_line_data,
|
||||
State state;
|
||||
if (!parseStatementTable(debug_line_data, &offset, state))
|
||||
return 0;
|
||||
pos->second = state;
|
||||
// FIXME: double lookup.
|
||||
LineTableMap[offset] = state;
|
||||
return &LineTableMap[offset];
|
||||
}
|
||||
return &pos->second;
|
||||
}
|
||||
|
Reference in New Issue
Block a user