зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1622701 - Eliminate use of `fix_stack_using_bpsyms.py` in `utils.py`. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D66918 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
f3e3a0107d
Коммит
5219cd1204
|
@ -247,15 +247,14 @@ def get_stack_fixer_function(utilityPath, symbolsPath):
|
|||
return module
|
||||
|
||||
if symbolsPath and os.path.exists(symbolsPath):
|
||||
# Run each line through a function in fix_stack_using_bpsyms.py (uses breakpad
|
||||
# symbol files).
|
||||
# This method is preferred for Tinderbox builds, since native
|
||||
# symbols may have been stripped.
|
||||
stack_fixer_module = import_stack_fixer_module(
|
||||
'fix_stack_using_bpsyms')
|
||||
# Run each line through fix_stacks.py, using breakpad symbol files.
|
||||
# This method is preferred for automation, since native symbols may
|
||||
# have been stripped.
|
||||
stack_fixer_module = import_stack_fixer_module('fix_stacks')
|
||||
|
||||
def stack_fixer_function(line):
|
||||
return stack_fixer_module.fixSymbols(line, symbolsPath)
|
||||
return stack_fixer_module.fixSymbols(
|
||||
line, slowWarning=True, breakpadSymsDir=symbolsPath)
|
||||
|
||||
elif mozinfo.isLinux or mozinfo.isMac or mozinfo.isWin:
|
||||
# Run each line through fix_stacks.py. This method is preferred for
|
||||
|
|
Загрузка…
Ссылка в новой задаче