diff options
| author | Alexander Yermolovich <ayermolo@fb.com> | 2023-02-16 17:20:27 -0800 |
|---|---|---|
| committer | Alexander Yermolovich <ayermolo@fb.com> | 2023-02-16 17:20:27 -0800 |
| commit | 8116fc592c5eef88584033ec4f3539f405dee0e0 (patch) | |
| tree | 5266229852db3439e95dc07c5418f547ed61f335 /lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp | |
| parent | f253bb640d97756d2808bb7c7b2bb31b1090a654 (diff) | |
Revert "[LLDB] Enable 64 bit debug/type offset"
This reverts commit 2062e90aa531e8445e5dc0e16222c0f246af1bf4.
Diffstat (limited to 'lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp')
| -rw-r--r-- | lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp index 9a33d6338b87..b631985d60c4 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp +++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp @@ -136,7 +136,7 @@ uint32_t DWARFDebugInfo::FindUnitIndex(DIERef::Section section, }); uint32_t idx = std::distance(m_units.begin(), pos); if (idx == 0) - return DW_INVALID_INDEX; + return DW_INVALID_OFFSET; return idx - 1; } |
