forked from OSchip/llvm-project
Update LLDB to follow changes in llvm::DWARFDebugNames::NameIndex (4/5)
Differential Revision: https://reviews.llvm.org/D65640 llvm-svn: 368033
This commit is contained in:
parent
5978c9249b
commit
0be738895c
|
@ -105,7 +105,7 @@ void DebugNamesDWARFIndex::GetGlobalVariables(const RegularExpression ®ex,
|
|||
if (!regex.Execute(nte.getString()))
|
||||
continue;
|
||||
|
||||
uint32_t entry_offset = nte.getEntryOffset();
|
||||
uint64_t entry_offset = nte.getEntryOffset();
|
||||
llvm::Expected<DebugNames::Entry> entry_or = ni.getEntry(&entry_offset);
|
||||
for (; entry_or; entry_or = ni.getEntry(&entry_offset)) {
|
||||
if (entry_or->tag() != DW_TAG_variable)
|
||||
|
@ -125,7 +125,7 @@ void DebugNamesDWARFIndex::GetGlobalVariables(const DWARFUnit &cu,
|
|||
uint64_t cu_offset = cu.GetOffset();
|
||||
for (const DebugNames::NameIndex &ni: *m_debug_names_up) {
|
||||
for (DebugNames::NameTableEntry nte: ni) {
|
||||
uint32_t entry_offset = nte.getEntryOffset();
|
||||
uint64_t entry_offset = nte.getEntryOffset();
|
||||
llvm::Expected<DebugNames::Entry> entry_or = ni.getEntry(&entry_offset);
|
||||
for (; entry_or; entry_or = ni.getEntry(&entry_offset)) {
|
||||
if (entry_or->tag() != DW_TAG_variable)
|
||||
|
@ -248,7 +248,7 @@ void DebugNamesDWARFIndex::GetFunctions(const RegularExpression ®ex,
|
|||
if (!regex.Execute(nte.getString()))
|
||||
continue;
|
||||
|
||||
uint32_t entry_offset = nte.getEntryOffset();
|
||||
uint64_t entry_offset = nte.getEntryOffset();
|
||||
llvm::Expected<DebugNames::Entry> entry_or = ni.getEntry(&entry_offset);
|
||||
for (; entry_or; entry_or = ni.getEntry(&entry_offset)) {
|
||||
Tag tag = entry_or->tag();
|
||||
|
|
Loading…
Reference in New Issue