1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-06 11:07:35 +00:00
serenity/Kernel/Arch/x86
Gunnar Beutner 55ae52fdf8 Kernel: Enable building the kernel with -flto
GCC with -flto is more aggressive when it comes to inlining and
discarding functions which is why we must mark some of the functions
as NEVER_INLINE (because they contain asm labels which would be
duplicated in the object files if the compiler decides to inline
the function elsewhere) and __attribute__((used)) for others so
that GCC doesn't discard them.
2021-04-29 20:26:36 +02:00
..
CPU.h Kernel: Enable building the kernel with -flto 2021-04-29 20:26:36 +02:00
DescriptorTable.h Everywhere: Remove empty line after function body opening curly brace 2021-04-25 20:20:00 +02:00
Interrupts.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ISRStubs.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
PageDirectory.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ProcessorInfo.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
SafeMem.h Kernel: Enable building the kernel with -flto 2021-04-29 20:26:36 +02:00
SmapDisabler.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TSS.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00