Bug 230142

Summary: Fix the lldb WTF::HashTable summary provider
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Tools / TestsAssignee: Simon Fraser (smfr) <simon.fraser>
Status: NEW ---    
Severity: Normal CC: achristensen, dbates, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch achristensen: review+

Description Simon Fraser (smfr) 2021-09-09 19:08:37 PDT
Fix the lldb WTF::HashTable summary provider
Comment 1 Simon Fraser (smfr) 2021-09-09 19:10:48 PDT
Created attachment 437824 [details]
Patch
Comment 2 Alex Christensen 2021-09-09 20:27:24 PDT
Comment on attachment 437824 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=437824&action=review

Have you run the unit tests for this?  EWS doesn't.

> Tools/lldb/lldb_webkit.py:-1076
> -        table_pointer = self.valobj.GetChildMemberWithName('m_tableForLLDB')

Should we also remove m_tableForLLDB from source then?
Comment 3 Simon Fraser (smfr) 2021-09-09 20:41:09 PDT
I think we could remove m_tableForLLDB, yeah. I did test it, and the lldb tests passed (but, oddly, they passed before this change, when the provider was certainly broken for me).
Comment 4 Radar WebKit Bug Importer 2021-09-16 19:09:17 PDT
<rdar://problem/83223014>