summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorTimon Kruiper <timonkruiper@gmail.com>2022-05-10 00:31:51 +0200
committerLinus Groh <mail@linusgroh.de>2022-05-12 23:14:05 +0200
commit4db44c09a4c497f45b0bfccc35cd5f091d2a6af0 (patch)
treedd72bfc336713a4930312bc493d5199b08b4c222 /Kernel
parent1f3977b303cee9f969fcaa0701b803208cb92d79 (diff)
downloadserenity-4db44c09a4c497f45b0bfccc35cd5f091d2a6af0.zip
Kernel: Use the Kernel UBSanitizer implementation in the aarch64 Kernel
Now we actually print useful information when an UBSAN fault is detected. :^)
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/Kernel/CMakeLists.txt b/Kernel/CMakeLists.txt
index aa9f95b43b..ea2d67bd36 100644
--- a/Kernel/CMakeLists.txt
+++ b/Kernel/CMakeLists.txt
@@ -397,9 +397,7 @@ if (NOT "${SERENITY_ARCH}" STREQUAL "aarch64")
${CRYPTO_SOURCES}
)
else()
- set(PREKERNEL_SOURCES
- Prekernel/UBSanitizer.cpp
- )
+ set(PREKERNEL_SOURCES)
set(RPI_SOURCES
Arch/aarch64/RPi/Framebuffer.cpp
Arch/aarch64/RPi/GPIO.cpp
@@ -434,6 +432,7 @@ else()
# Files from base Kernel
KSyms.cpp
MiniStdLib.cpp
+ UBSanitizer.cpp
Memory/AddressSpace.cpp
Memory/AnonymousVMObject.cpp