build/.lldbinit.in
author Nick Alexander <nalexander@mozilla.com>
Wed, 27 Mar 2019 22:37:58 +0000
changeset 467451 4ebb324c0d9534dcecb301ea3f58887bc1f74f35
parent 164382 148382c24e1cd062d8a037f441cf9e9cc6dcfa4b
permissions -rw-r--r--
Bug 1525968 - Post: Make $topobjdir/.lldbinit reference full build symbols on Android. r=froydnj Differential Revision: https://phabricator.services.mozilla.com/D19092

#filter substitution
script topsrcdir = "@topsrcdir@"; lldb.debugger.HandleCommand("command source -s true '%s'" % os.path.join(topsrcdir, ".lldbinit"))

#ifdef MOZ_WIDGET_ANDROID
settings set symbols.enable-external-lookup true

# This is where libxul.so and libmozglue.so are produced in full builds.
settings append target.exec-search-paths @topobjdir@/toolkit/library
settings append target.exec-search-paths @topobjdir@/mozglue/build

# This is where artifact builds unpacks "crashreporter-symbols-full.zip" uncompressed ELF debug symbols.
settings append target.debug-file-search-paths @topobjdir@/dist/crashreporter-symbols

# These are specific paths encoded into Mozilla's automation outputs.
settings append target.source-map /builds/worker/workspace/build/src/obj-firefox @topobjdir@
settings append target.source-map /builds/worker/workspace/build/src @topsrcdir@
#endif