Open
Description
The debug information for some of the files currently points to the target directory, including an unpredictable hash.
This makes it hard to setup the debugger to show the source code while debugging (if you are debugging an executable built on a different machine).
Example:
(lldb) image lookup -vn IsCatchableExceptionStatus
[redacted]
LineEntry: [0x0000005b879f25d4-0x0000005b879f25dc): /data/servo/target/aarch64-unknown-linux-ohos/debug/build/mozjs_sys-af0e41768545dd53/out/build/dist/include/js/Exception.h:80
This makes it hard to setup lldb's settings set target.source-map /path/on/build-machine D:\path\on\debugger-host-machine
, since the hash will change frequently.
At first glance it seems like the header files are also present in the source directory, and identical, so it would be preferable, if the original files at the fixed location could be used when compiling mozjs, instead of the files in the target directory.
Metadata
Metadata
Assignees
Labels
No labels
Activity