mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibC: Move C++ABI functions to cxxabi.cpp, typecheck cxa_atexit
This commit is contained in:
parent
9d2d97a059
commit
ff590db7e5
Notes:
sideshowbarker
2024-07-19 03:41:31 +09:00
Author: https://github.com/BenWiederhake
Commit: ff590db7e5
Pull-request: https://github.com/SerenityOS/serenity/pull/3096
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/stelar7
4 changed files with 21 additions and 22 deletions
|
@ -40,20 +40,4 @@ void __libc_init()
|
|||
__malloc_init();
|
||||
__stdio_init();
|
||||
}
|
||||
|
||||
[[noreturn]] void __cxa_pure_virtual() __attribute__((weak));
|
||||
|
||||
[[noreturn]] void __cxa_pure_virtual()
|
||||
{
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
||||
extern u32 __stack_chk_guard;
|
||||
u32 __stack_chk_guard = (u32)0xc6c7c8c9;
|
||||
|
||||
[[noreturn]] void __stack_chk_fail();
|
||||
[[noreturn]] void __stack_chk_fail()
|
||||
{
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue