1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-08 11:27:35 +00:00
serenity/Ports/llvm/patches
Andrew Kaster 4dc538da0e Ports: Remove build-crt patch from llvm
This patch has been integrated into the toolchain.patch file.
2022-01-03 11:08:45 +00:00
..
insert-ifdef-serenity.patch Ports: Remove wstring patch from LLVM 2021-12-21 20:35:52 -08:00
ReadMe.md Ports: Remove build-crt patch from llvm 2022-01-03 11:08:45 +00:00
remove-version-script.patch Ports: Upgrade LLVM to version 13.0.0 2021-11-28 09:38:57 -08:00
toolchain.patch Ports: Upgrade LLVM to version 13.0.0 2021-11-28 09:38:57 -08:00

Patches for LLVM on SerenityOS

insert-ifdef-serenity.patch

This patch adds several defines in order to omit things not supported by SerenityOS.

Status

  • Local?
  • Should be merged to upstream?
  • Resolves issue(s) with our side of things
  • Hack

remove-version-script.patch

Instructs the linker to not build LLVM shared libraries (libclang.so, libLTO.so, etc.) with symbol versioning, which our dynamic linker does not support.

Status

  • Local?
  • Should be merged to upstream?
  • Resolves issue(s) with our side of things
  • Hack

toolchain.patch

Adds support for the $arch-pc-serenity target to the Clang front end. This makes the compiler look for libraries and headers in the right places, and enables some security mitigations, like stack-smashing protection and building position-independent executables by default.

Status

  • Local?
  • Should be merged to upstream?
  • Resolves issue(s) with our side of things
  • Hack