mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-01-09 21:21:16 +00:00
DebugInfo: Move the reference to the CU from the location list entry to the list itself, since it is constant across an entire list.
This simplifies construction and usage while making the data structure smaller. It was a holdover from the days when we didn't have a separate DebugLocList and all we had was a flat list of DebugLocEntries. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214933 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -538,8 +538,7 @@ class DwarfDebug : public AsmPrinterHandler {
|
||||
/// \brief Build the location list for all DBG_VALUEs in the
|
||||
/// function that describe the same variable.
|
||||
void buildLocationList(SmallVectorImpl<DebugLocEntry> &DebugLoc,
|
||||
const DbgValueHistoryMap::InstrRanges &Ranges,
|
||||
DwarfCompileUnit *TheCU);
|
||||
const DbgValueHistoryMap::InstrRanges &Ranges);
|
||||
|
||||
/// \brief Collect variable information from the side table maintained
|
||||
/// by MMI.
|
||||
|
||||
Reference in New Issue
Block a user