diff options
author | John McCall <rjmccall@apple.com> | 2015-10-21 18:06:47 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2015-10-21 18:06:47 +0000 |
commit | 3fd13f06658e050d8472526fffea92943905d2f8 (patch) | |
tree | 44acdac2df48d7a78ecb603e3a17a72dba3b455c /lldb/scripts/Python | |
parent | b04ecb753a63bca00ed3b2ae569d1f4fbbe32b94 (diff) | |
download | llvm-3fd13f06658e050d8472526fffea92943905d2f8.zip llvm-3fd13f06658e050d8472526fffea92943905d2f8.tar.gz llvm-3fd13f06658e050d8472526fffea92943905d2f8.tar.bz2 |
Fix and stylize the emission of GC/ARC ivar and GC block layout strings.
Specifically, handle under-aligned object references (by explicitly
ignoring them, because this just isn't representable in the format;
yes, this means that GC silently ignores such references), descend
into anonymous structs and unions, stop classifying fields of
pointer-to-strong/weak type as strong/weak in ARC mode, and emit
skips to cover the entirety of block layouts in GC mode. As a
cleanup, extract this code into a helper class, avoid a number of
unnecessary copies and layout queries, generate skips implicitly
instead of explicitly tracking them, and clarify the bitmap-creation
logic.
llvm-svn: 250919
Diffstat (limited to 'lldb/scripts/Python')
0 files changed, 0 insertions, 0 deletions