Skip to content

lldb call can't find function symbols #1813

Description

@sylvanc

When running a Pony program in lldb, it is convenient to be able to call functions (as one does in C programs). This used to work.

Unfortunately, at some point it stopped working. For example:

(lldb) call String_box_cpointer_Zo(source)
error: use of undeclared identifier 'String_box_cpointer_Zo'

Note that if we try to set a breakpoint, it works:

(lldb) b String_box_cpointer_Zo
Breakpoint 3: where = peg`String_box_cpointer_Zo + 18 at string.pony:205, address = 0x0000000100005a22

It's possible this has to do with how the language identifier is set in the DWARF info. The right long term solution is full support for Pony in lldb:

http://lldb.llvm.org/adding-language-support.html

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs investigationThis needs to be looked into before its "ready for work"

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions