1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:17:36 +00:00

Toolchain: Enable LLVM Profile instrumentation

Add a patch to let llvm's InstrProfiling modules know serenity supports
all the Unix-y features required to make -fprofile-instr-generate and
-fcoverage-mapping work properly on target.
This commit is contained in:
Andrew Kaster 2022-03-04 17:45:04 -07:00 committed by Andreas Kling
parent 9b041786ac
commit 4334bd06b8
12 changed files with 94 additions and 10 deletions

View file

@ -232,7 +232,7 @@ pushd "$DIR/Tarballs"
git init > /dev/null
git add . > /dev/null
git commit -am "BASE" > /dev/null
git am "$DIR"/Patches/llvm/*.patch > /dev/null
git am --keep-non-patch "$DIR"/Patches/llvm/*.patch > /dev/null
else
for patch in "$DIR"/Patches/llvm/*.patch; do
patch -p1 < "$patch" > /dev/null