mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-03 17:58:30 +00:00
Add OpenMP support
This commit is contained in:
parent
c1e18e7903
commit
5f8e9f14c1
742 changed files with 94643 additions and 1279 deletions
1
third_party/libcxxabi/BUILD.mk
vendored
1
third_party/libcxxabi/BUILD.mk
vendored
|
@ -83,6 +83,7 @@ $(THIRD_PARTY_LIBCXXABI_A).pkg: \
|
|||
# TODO: Remove constinit hacks when we have C++20
|
||||
$(THIRD_PARTY_LIBCXXABI_A_OBJS): private \
|
||||
CXXFLAGS += \
|
||||
-fno-sanitize=all \
|
||||
-ffunction-sections \
|
||||
-fdata-sections \
|
||||
-fexceptions \
|
||||
|
|
8
third_party/libcxxabi/cxa_personality.cc
vendored
8
third_party/libcxxabi/cxa_personality.cc
vendored
|
@ -202,7 +202,7 @@ enum
|
|||
/// @link http://dwarfstd.org/Dwarf4.pdf @unlink
|
||||
/// @param data reference variable holding memory pointer to decode from
|
||||
/// @returns decoded value
|
||||
static dontasan
|
||||
static
|
||||
uintptr_t
|
||||
readULEB128(const uint8_t** data)
|
||||
{
|
||||
|
@ -225,7 +225,7 @@ readULEB128(const uint8_t** data)
|
|||
/// @link http://dwarfstd.org/Dwarf4.pdf @unlink
|
||||
/// @param data reference variable holding memory pointer to decode from
|
||||
/// @returns decoded value
|
||||
static dontasan
|
||||
static
|
||||
intptr_t
|
||||
readSLEB128(const uint8_t** data)
|
||||
{
|
||||
|
@ -542,7 +542,7 @@ struct scan_results
|
|||
|
||||
} // unnamed namespace
|
||||
|
||||
static dontasan
|
||||
static
|
||||
void
|
||||
set_registers(_Unwind_Exception* unwind_exception, _Unwind_Context* context,
|
||||
const scan_results& results)
|
||||
|
@ -581,7 +581,6 @@ set_registers(_Unwind_Exception* unwind_exception, _Unwind_Context* context,
|
|||
_UA_CLEANUP_PHASE && !_UA_HANDLER_FRAME
|
||||
*/
|
||||
|
||||
dontasan
|
||||
static void scan_eh_tab(scan_results &results, _Unwind_Action actions,
|
||||
bool native_exception,
|
||||
_Unwind_Exception *unwind_exception,
|
||||
|
@ -912,7 +911,6 @@ static _Unwind_Reason_Code __gxx_personality_imp
|
|||
#else
|
||||
_LIBCXXABI_FUNC_VIS _Unwind_Reason_Code
|
||||
#ifdef __USING_SJLJ_EXCEPTIONS__
|
||||
dontasan
|
||||
__gxx_personality_sj0
|
||||
#elif defined(__MVS__)
|
||||
__zos_cxx_personality_v2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue