lldb: Add enumeration functionality, API & tests