Bug 203495

Summary: Add pretty printer for CompactPointerTuple
Product: WebKit Reporter: Daniel Bates <dbates>
Component: Tools / TestsAssignee: Daniel Bates <dbates>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, cdumez, cmarcelo, ews-watchlist, jer.noble, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch and unit tests none

Description Daniel Bates 2019-10-28 11:35:03 PDT
Add a LLDB pretty printer for CompactPointerTuple.
Comment 1 Daniel Bates 2019-10-28 11:46:02 PDT
Created attachment 382091 [details]
Patch and unit tests
Comment 2 Daniel Bates 2019-10-28 11:47:33 PDT
Now we will print something like:

        (WTF::CompactPointerTuple<WTF::String *, unsigned char>) $0 = { type = 7 } {
          [0] = 0x00007ffeefbff220 { length = 8, contents = 'résumé' }
          [1] = 7
        }

for aCompactPointerTuple defined like this:

        String aString { "résumé" };
        CompactPointerTuple<String*, uint8_t> aCompactPointerTuple { &aString, 7 };
Comment 3 Daniel Bates 2019-10-30 15:21:12 PDT
Comment on attachment 382091 [details]
Patch and unit tests

Clearing flags on attachment: 382091

Committed r251813: <https://trac.webkit.org/changeset/251813>
Comment 4 Daniel Bates 2019-10-30 15:21:15 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Radar WebKit Bug Importer 2019-10-30 15:22:16 PDT
<rdar://problem/56760637>