Граф коммитов

8 Коммитов

Автор SHA1 Сообщение Дата
Chris Manchester 1df3f2bb45 Bug 1518630 - Build compiler-rt profiling library for android x86 and aarch64. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D16911

--HG--
extra : moz-landing-system : lando
2019-01-18 01:55:41 +00:00
Mike Hommey a0b6688faa Bug 1518726 - Apply https://reviews.llvm.org/D56475 to clang. r=froydnj
Firefox uses multiple processes. It has intentional leaks, and when
running with ASAN, we have suppressions to eliminate those. When running
ASAN builds through CI tests, when Firefox exits, each of the processes
(parent and child) exits and goes through its leaks and when there are
(which is a given), the ASAN runtime runs llvm-symbolizer to symbolicate
and match against suppressions. So each process runs llvm-symbolizer. At
the same time.

Some of the addresses to symbolicate are in libxul. Which contains all
DWARF info, making it a ~1GB monster. Oh, and because you're lucky,
things align perfectly such that libxul size is a multiple of the page
size. That makes llvm-symbolizer pread() the file instead of mmap()ing
it. Did I say there are multiple processes? So suddenly you have n
processes simultaneously allocating and filling 1GB of memory each, on
CI machines that have enough memory for the job they usually run, but
not enough for a sudden rush of n GB.

And things go awry. When you're lucky and the OOM killer didn't take
care of killing the CI entirely, symbolication couldn't happen and the
suppressions are not matched, and leaks are reported.

This all turns out it originates in how llvm-symbolicate chooses between
pread() and mmap(), which turns out is just defaults not being made for
binary files.

Differential Revision: https://phabricator.services.mozilla.com/D16010

--HG--
extra : moz-landing-system : lando
2019-01-10 00:18:28 +00:00
Mike Hommey 3dc15d5c35 Bug 1516374 - Upgrade clang to 7.0.1. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D15346

--HG--
extra : moz-landing-system : lando
2019-01-09 23:01:46 +00:00
Cosmin Sabou d6a8d4942e Backed out changeset 4728285e13e4 (bug 1516374) for causing coverage build bustages. a=backout 2019-01-09 18:34:05 +02:00
Mike Hommey d1371b35a2 Bug 1516374 - Upgrade clang to 7.0.1. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D15346

--HG--
extra : moz-landing-system : lando
2019-01-09 09:20:15 +00:00
Ciure Andrei c1b788ba04 Backed out 1 changesets (bug 1516374) for causing Linux asan browser chrome exceptions CLOSED TREE
Backed out changeset 4474a7665e47 (bug 1516374)
2018-12-27 08:17:10 +02:00
Mike Hommey 242f814d8a Bug 1516374 - Upgrade clang to 7.0.1. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D15346

--HG--
extra : moz-landing-system : lando
2018-12-27 00:49:54 +00:00
Chris Manchester 5292ba5641 Bug 1504147 - Build compiler-rt libs for android on arm. r=froydnj
This patch is based on the cmake cache files for Android checked in to the
clang repo.

Differential Revision: https://phabricator.services.mozilla.com/D14004

--HG--
extra : moz-landing-system : lando
2018-12-13 22:02:01 +00:00