Need help to find source file location by PC address

Calvin P cloudlessapp at gmail.com
Sat Dec 12 15:59:06 UTC 2020


On Saturday, 12 December 2020 at 15:51:46 UTC, Calvin P wrote:
> I made a cross build with LDC -g -gdwarf-4 -O0 -D_DEBUG, the 
> app crash with a report include PC address 0x005e34a9.
>
> [...]

Find the solution:

lldb-11 tests_curl
(lldb) target create "tests_curl"
Current executable set to 'tests_curl' (i686).
(lldb) image lookup --address 0x005e34a9
       Address: tests_curl[0x005e34a9] (tests_curl..text + 1975465)
       Summary: tests_curl`getinfo_offt + 1817 at getinfo.c
(lldb) q


More information about the Digitalmars-d-learn mailing list