mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 13:07:52 +00:00
Bug 1525968 - Post: Make $topobjdir/.lldbinit reference full build symbols on Android. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D19092 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
fbb2df205f
commit
0473ac6e86
@ -1,2 +1,17 @@
|
||||
#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
|
||||
|
@ -114,6 +114,7 @@ OBJDIR_FILES += ['/.gdbinit']
|
||||
# directories as the current working directory. The .lldbinit file will
|
||||
# load $(topsrcdir)/.lldbinit, which is where the actual debugging commands are.
|
||||
DEFINES['topsrcdir'] = TOPSRCDIR
|
||||
DEFINES['topobjdir'] = TOPOBJDIR
|
||||
FINAL_TARGET_PP_FILES += ['.lldbinit.in']
|
||||
OBJDIR_FILES += ['!/dist/bin/.lldbinit']
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user