tools/moz.build
author Gabriele Svelto <gsvelto@mozilla.com>
Fri, 21 Sep 2018 12:50:32 +0000
changeset 1704660 552cf01fb131f58080232c47482d5b2ef5d979c3
parent 1469451 ad34ac3d45a62dff961bd247e36ab209af2cc0e5
child 1705076 e8f50a5a835b210ff5bedda5a06f25f859c7b694
child 1725276 05bea5e00e50e53d771de8530888f542eb9602dc
permissions -rw-r--r--
Bug 1470223 - Prefer FUNC entries to PUBLIC entries when fixing symbols r=ted This patch changes the way we search symbols when fixing up a stack. Previously we would find the closest PUBLIC or FUNC entry lower than a given address. Because of how symbol files were processed we preferred PUBLIC entries to FUNC ones. Now we look first for the function that contains the address (obtained from the FUNC entries) then if none is available we look for the closest, lower PUBLIC entry. Differential Revision: https://phabricator.services.mozilla.com/D5033

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

with Files("**"):
    BUG_COMPONENT = ("Core", "General")

with Files("code-coverage/**"):
    BUG_COMPONENT = ("Testing", "Code Coverage")

with Files("compare-locales/docs/**"):
    BUG_COMPONENT = ('Mozilla Localizations', 'Documentation')

with Files("compare-locales/mach_commands.py"):
    BUG_COMPONENT = ("Localization Infrastructure and Tools", "compare-locales")

with Files("coverity/**"):
    BUG_COMPONENT = ("Core", "Rewriting and Analysis")

with Files("docs/**"):
    BUG_COMPONENT = ("Firefox Build System", "Generated Documentation")
    SCHEDULES.exclusive = ['docs']

with Files("lint/**"):
    BUG_COMPONENT = ("Testing", "Lint")

with Files("profiler/**"):
    BUG_COMPONENT = ("Core", "Gecko Profiler")

with Files("quitter/**"):
    BUG_COMPONENT = ("Testing", "General")

with Files("rb/**"):
    BUG_COMPONENT = ("Core", "XPCOM")

with Files("rewriting/**"):
    BUG_COMPONENT = ("Core", "Rewriting and Analysis")

with Files("tryselect/**"):
    BUG_COMPONENT = ("Testing", "General")

with Files("update-packaging/**"):
    BUG_COMPONENT = ("Release Engineering", "Other")

SPHINX_TREES['lint'] = 'lint/docs'

with Files('lint/docs/**'):
    SCHEDULES.exclusive = ['docs']

SPHINX_TREES['compare-locales'] = 'compare-locales/docs'

with Files('compare-locales/docs/**'):
    SCHEDULES.exclusive = ['docs']

SPHINX_TREES['try'] = 'tryselect/docs'

with Files('tryselect/docs/**'):
    SCHEDULES.exclusive = ['docs']

CRAMTEST_MANIFESTS += [
    'tryselect/test/cram.ini',
]

PYTHON_UNITTEST_MANIFESTS += [
    'lint/test/python.ini',
    'rb/python.ini',
    'tryselect/test/python.ini',
]