llvm-project/lldb
Med Ismail Bennani 44a114fec7 [lldb/Dataformatters] Adapt C++ std::string dataformatter for D128285
This patch changes the C++ `std::string` dataformatter to reflect
internal layout changes following D128285.

Now, in short-mode strings, in order to access the `__size_` and
`__is_long_` attributes, we need to access a packed anonymous struct,
which introduces another indirection.

We need to do the same in order to access the `__cap_` field for
long-mode strings.

This should fix the various test failures that are happening on
GreenDragon:

https://green.lab.llvm.org/green/job/lldb-cmake/44918/

rdar://96010248

Differential Revision: https://reviews.llvm.org/D128694

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
2022-06-28 15:34:17 -07:00
..
bindings Add LoadTraceFromFile to SBDebugger and SBTrace 2022-06-20 11:54:47 -07:00
cmake [lldb] Disable modules in Apple-lldb-base 2022-05-24 17:17:14 -07:00
docs [lldb] Cleanup Python API reference files after building the docs 2022-06-16 16:30:49 -07:00
examples [lldb/crashlog] Show help when the command is called without any argument 2022-06-10 13:44:43 -07:00
include/lldb [lldb] Add a NativeProcessProtocol::Threads() iterable 2022-06-28 21:49:16 +02:00
packages/Python/lldbsuite [lldb] [llgs] Support multiprocess in qfThreadInfo 2022-06-24 17:20:24 +02:00
resources
scripts
source [lldb/Dataformatters] Adapt C++ std::string dataformatter for D128285 2022-06-28 15:34:17 -07:00
test [lldb] [llgs] Fix premature server exit if multiprocess+nonstop 2022-06-28 21:49:17 +02:00
third_party/Python/module [lldb][NFC] Inclusive language: replace master/slave names for ptys 2021-11-12 10:54:18 -06:00
tools [lldb] Add support for specifying a log handler 2022-06-24 18:24:00 -07:00
unittests [lld] Don't use Optional::hasValue (NFC) 2022-06-26 19:29:40 -07:00
utils [lldb] Match test dependencies name to other LLVM projects. 2021-05-21 00:10:27 -07:00
.clang-format
.clang-tidy [LLDB] Applying clang-tidy modernize-use-override over LLDB 2022-04-22 13:29:47 -07:00
.gitignore
CMakeLists.txt [cmake] Make include(GNUInstallDirs) always below project(..) 2022-01-20 18:59:17 +00:00
CODE_OWNERS.txt [CODE OWNERS] Add wallace as code owner 2022-01-12 12:36:30 -08:00
LICENSE.TXT
use_lldb_suite_root.py