diff options
author | Med Ismail Bennani <medismail.bennani@gmail.com> | 2022-06-27 18:28:30 -0700 |
---|---|---|
committer | Med Ismail Bennani <medismail.bennani@gmail.com> | 2022-06-28 15:34:17 -0700 |
commit | 44a114fec715bd9c9b725c939a09de4b746108e3 (patch) | |
tree | 31e26daf69c986e024fa3b470695609cf8f4c055 /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp | |
parent | 73e5d7bdff51bdcce8100feff0008a154e8e02bc (diff) | |
download | llvm-44a114fec715bd9c9b725c939a09de4b746108e3.zip llvm-44a114fec715bd9c9b725c939a09de4b746108e3.tar.gz llvm-44a114fec715bd9c9b725c939a09de4b746108e3.tar.bz2 |
[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>
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions