[lldb-dev] How to load symfile when using debugger.CreateTarget?

Yong Lam via lldb-dev lldb-dev at lists.llvm.org
Sat Jan 25 08:09:35 PST 2020


Hi all,

I can specify myapp.dsym in the lldb command line app:

    target create --no-dependents -arch arm64 --symfile myapp.dsym myapp


But how can I specify dsym file when using python API?


```
target = debugger.CreateTarget(

    "myapp", triple, platform_name, add_dependents, lldb.SBError())

```


I have search in https://github.com/llvm/llvm-project/ and
https://lldb.llvm.org/python_reference/index.html . But cannot solve it.



Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20200126/40a6514c/attachment.html>


More information about the lldb-dev mailing list