mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
c9152b6f14
This change switches c++ exception handling from sjlj to standard dwarf. It's needed because clang for aarch64 doesn't support sjlj. It turns out that libunwind had a bare-metal configuration that made this easy to do. This change gets the new experimental cosmocc -mclang flag in a state of working so well that it can now be used to build all of llamafile and it goes 3x faster in terms of build latency, without trading away any perf. The int_fast16_t and int_fast32_t types are now always defined as 32-bit in the interest of having more abi consistency between cosmocc -mgcc and -mclang mode. |
||
---|---|---|
.. | ||
include | ||
AddressSpace.hpp | ||
assembly.h | ||
BUILD.mk | ||
cet_unwind.h | ||
CompactUnwinder.hpp | ||
config.h | ||
dwarf2.h | ||
DwarfInstructions.hpp | ||
DwarfParser.hpp | ||
EHHeaderParser.hpp | ||
FrameHeaderCache.hpp | ||
gcc_personality_v0.c | ||
libunwind.cc | ||
libunwind_ext.h | ||
LICENSE.TXT | ||
README.cosmo | ||
Registers.hpp | ||
RWMutex.hpp | ||
Unwind-EHABI.h | ||
UnwindCursor.hpp | ||
UnwindLevel1-gcc-ext.c | ||
UnwindLevel1.c | ||
UnwindRegistersRestore.S | ||
UnwindRegistersSave.S |
DESCRIPTION libunwind - LLVM Unwinder ORIGIN Obtained from the LLVM monorepo, release 17.0.6. https://github.com/llvm/llvm-project/tree/llvmorg-17.0.6/libunwind commit 6009708b4367171ccdbf4b5905cb6a803753fe18 Author: Tobias Hieta <tobias@hieta.se> Date: Tue, 28 Nov 2023 09:52:28 +0100 LOCAL CHANGES - Fixed `_Unwind_FunctionContext` struct to be ABI-compatible with code generated by GCC.