New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lldb `call` can't find function symbols #1813

Open
sylvanc opened this Issue Apr 5, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@sylvanc
Copy link
Contributor

sylvanc commented Apr 5, 2017

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

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