Bug 1854550 - pt 2. Move PHC into memory/build r=glandium
commit34506cd1f8660cddee9861792e94948054e3c60a
authorPaul Bone <pbone@mozilla.com>
Thu, 19 Oct 2023 06:38:39 +0000 (19 06:38 +0000)
committerPaul Bone <pbone@mozilla.com>
Thu, 19 Oct 2023 06:38:39 +0000 (19 06:38 +0000)
tree26c3a1e70b22fa184d639d3ad6bfe15298c2d4a9
parent916b2a572d06901676a2b92aafa3144b0f0d86de
Bug 1854550 - pt 2. Move PHC into memory/build r=glandium

We want to link PHC directly alongside jemalloc so move its code into the
memory/build/ directory.  This means that it's always statically linked even
when other replace_malloc libraries aren't.

The following patch will remove it from the replace_malloc configuration.

Differential Revision: https://phabricator.services.mozilla.com/D188983
13 files changed:
memory/build/FdPrintf.cpp [moved from memory/replace/logalloc/FdPrintf.cpp with 100% similarity]
memory/build/FdPrintf.h [moved from memory/replace/logalloc/FdPrintf.h with 94% similarity]
memory/build/PHC.cpp [moved from memory/replace/phc/PHC.cpp with 99% similarity]
memory/build/PHC.h [moved from memory/replace/phc/PHC.h with 100% similarity]
memory/build/moz.build
memory/build/mozjemalloc.cpp
memory/build/test/gtest/TestPHC.cpp [moved from memory/replace/phc/test/gtest/TestPHC.cpp with 100% similarity]
memory/build/test/gtest/moz.build [moved from memory/replace/phc/test/gtest/moz.build with 100% similarity]
memory/build/test/moz.build
memory/replace/dmd/test/script-sort-by.json.gz
memory/replace/logalloc/moz.build
memory/replace/logalloc/replay/moz.build
memory/replace/moz.build