[PATCH] D154400: [llvm] Add support for building LLVM on SerenityOS
Andrew Kaster via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 3 18:54:15 PDT 2023
ADKaster created this revision.
Herald added subscribers: abrachet, phosek, hiraditya, krytarowski.
Herald added a project: All.
ADKaster requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Adds SerenityOS `#ifdef`s for platform-specific code.
We stub out wait4, as SerenityOS doesn't support querying a child
process's resource usage information.
POSIX shm is not supported by SerenityOS yet, so disable it in Orc.
Serenity gives each thread a default of 1MiB of stack. Increase the
default stack size for llvm applications when running on SerenityOS.
Depends on D154399 <https://reviews.llvm.org/D154399>
Co-Authored-By: sin-ack <sin-ack at users.noreply.github.com>
Co-Authored-By: Tim Schumacher <timschumi at gmx.de>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D154400
Files:
llvm/cmake/modules/HandleLLVMOptions.cmake
llvm/include/llvm/Support/SwapByteOrder.h
llvm/lib/ExecutionEngine/Orc/MemoryMapper.cpp
llvm/lib/ExecutionEngine/Orc/TargetProcess/ExecutorSharedMemoryMapperService.cpp
llvm/lib/Support/Unix/Path.inc
llvm/lib/Support/Unix/Program.inc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154400.536926.patch
Type: text/x-patch
Size: 4029 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230704/c1d8a623/attachment.bin>
More information about the llvm-commits
mailing list