llvm-project/lldb
Jan Kratochvil 2178088879 Separate DIERef vs. user_id_t: m_function_scope_qualified_name_map
As discussed in https://reviews.llvm.org/D73206#1871895 there is both
`DIERef` and `user_id_t` and sometimes (for DWZ) we need to encode Main
CU into them and sometimes we cannot as it is unavailable at that point
and at the same time not even needed.

I have also noticed `DIERef` and `user_id_t` in fact contain the same
information which can be seen in SymbolFileDWARF::GetUID.

SB* API/ABI is already using `user_id_t` and it needs to encode Main CU
for DWZ. Therefore what about making `DIERef` the identifier not
containing Main CU and `user_id_t` the identifier containing Main CU?

It is sort of a revert of D63322.

I find this patch as a NFC cleanup to the codebase - to satisfy a new
premise `user_id_t` is used as little as possible and thus only for
external interfaces which must not deal with MainCU in any way.

Its larger goal is to satisfy a plan to implement DWZ support.

Differential Revision: https://reviews.llvm.org/D74637
2020-02-17 16:35:42 +01:00
..
bindings [lldb/Bindings] Sort headers in headers.swig 2020-01-28 10:58:07 -08:00
cmake [lldb] Delete the SharingPtr class 2020-02-11 13:23:18 +01:00
docs Small reformat to avoid tripping up possible formatting. 2020-02-13 13:06:44 -08:00
examples [lldb] Make gdbremote.py utility py2and3 compatible 2020-02-13 09:18:55 +01:00
include/lldb [lldb] Delete register info definitions in the x86_64 ABI classes 2020-02-17 14:01:36 +01:00
packages/Python/lldbsuite [lldb/lldb-server] Add target.xml support for qXfer request. 2020-02-17 12:05:28 +01:00
resources [CMake] Revised LLDB.framework builds 2019-01-04 12:46:50 +00:00
scripts [lldb/Scripts] Remove swig_bot_lib/__init__.py 2020-01-16 09:15:41 -08:00
source Separate DIERef vs. user_id_t: m_function_scope_qualified_name_map 2020-02-17 16:35:42 +01:00
test [lldb/DWARF] Re-enable basic dwp support 2020-02-17 14:10:36 +01:00
third_party/Python/module Increase timeout in pexpect to lower chances of tests failing under ASAN. 2019-10-10 16:16:49 +00:00
tools [LLDB] Add DynamicLoaderWasmDYLD plugin for WebAssembly debugging 2020-02-17 12:42:23 +01:00
unittests [lldb/DWARF] Re-enable basic dwp support 2020-02-17 14:10:36 +01:00
utils [lldb\utils] Place lldb-repro in a per-configuration directory to support multi-configuration generators 2020-02-06 12:31:57 -08:00
.arcconfig
.clang-format
.gitignore Add .noindex to the gitignore 2019-04-05 17:57:42 +00:00
CMakeLists.txt [lldb/Cmake] Add a CMakeLists.txt to the utils directory... 2020-01-16 22:31:01 -08:00
CODE_OWNERS.txt [lldb][NFC] Cleanup mentions and code related to lldb-mi 2019-07-19 15:55:23 +00:00
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
use_lldb_suite_root.py