llvm-project/lldb/source
Adrian Prantl 62a6d97704 Do not cache hardcoded formats in FormatManager
The cache in FormatCache uses only a type name as key. The hardcoded
formats, synthetic children, etc inspect an entire ValueObject to
determine their eligibility, which isn't modelled in the cache. This
leads to bugs such as the one in this patch (where two similarly named
types in different files have different hardcoded summary
providers). The problem is exaggerated in the Swift language plugin
due to the language's dynamic nature.

rdar://problem/57756763

Differential Revision: https://reviews.llvm.org/D71233
2019-12-10 15:53:40 -08:00
..
API Revert "Temporarily revert [lldb] e81268d - [lldb/Reproducers] Support multiple GDB remotes" 2019-12-10 15:04:45 -08:00
Breakpoint [lldb][NFC] Migrate FileSpec::Dump to raw_ostream 2019-12-06 09:40:42 +01:00
Commands Revert "Temporarily revert [lldb] e81268d - [lldb/Reproducers] Support multiple GDB remotes" 2019-12-10 15:04:45 -08:00
Core [lldb/Host] Use Host/Config.h entries instead of a global define. 2019-12-10 11:16:52 -08:00
DataFormatters Do not cache hardcoded formats in FormatManager 2019-12-10 15:53:40 -08:00
Expression [lldb/DWARF] Switch to llvm location list parser 2019-12-09 13:39:10 +01:00
Host [lldb] Add #include to appease the modules build 2019-12-10 12:37:26 -08:00
Initialization [Reproducer] Use ::rtrim() to remove trailing control characters. 2019-10-18 17:11:48 +00:00
Interpreter [lldb/Host] Use Host/Config.h entries instead of a global define. 2019-12-10 11:16:52 -08:00
Plugins Revert "Temporarily revert [lldb] e81268d - [lldb/Reproducers] Support multiple GDB remotes" 2019-12-10 15:04:45 -08:00
Symbol [lldb] Centralize type "desugaring" logic in ClangASTContext 2019-12-10 14:05:10 +01:00
Target [lldb][NFC] Move Address and AddressRange functions out of Stream and let them take raw_ostream 2019-12-05 14:41:33 +01:00
Utility Revert "Temporarily revert [lldb] e81268d - [lldb/Reproducers] Support multiple GDB remotes" 2019-12-10 15:04:45 -08:00
CMakeLists.txt [CMake] Remove Apple-specific version logic. 2019-04-17 18:23:22 +00:00
lldb.cpp [CMake] Remove Apple-specific version logic. 2019-04-17 18:23:22 +00:00