зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1662608 - Set -fcrash-diagnostics-dir in build-clang.py r=froydnj CLOSED TREE
This will let us get reproducers for compiler self-host assertion failures. Differential Revision: https://phabricator.services.mozilla.com/D89079
This commit is contained in:
Родитель
98deb161a2
Коммит
398ec52cef
|
@ -826,6 +826,11 @@ if __name__ == "__main__":
|
|||
extra_ldflags = ["-Wl,-syslibroot,%s" % os.getenv("CROSS_SYSROOT"),
|
||||
"-Wl,-dead_strip"]
|
||||
|
||||
upload_dir = os.getenv('UPLOAD_DIR')
|
||||
if upload_dir:
|
||||
extra_cflags2 += ['-fcrash-diagnostics-dir=%s' % upload_dir]
|
||||
extra_cxxflags2 += ['-fcrash-diagnostics-dir=%s' % upload_dir]
|
||||
|
||||
build_one_stage(
|
||||
[cc] + extra_cflags,
|
||||
[cxx] + extra_cxxflags,
|
||||
|
|
Загрузка…
Ссылка в новой задаче