Something went wrong. Try again.
Cider Isn't Darwin Emulation, Really
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738project(hosttools)
option(DARLING_COREDUMP_SANITIZE "Enable/disable ASAN and UBSAN in darling-coredump" OFF)
add_executable(darling-coredump src/coredump/main.cpp)
target_compile_options(darling-coredump PRIVATE -std=c++17)
target_include_directories(darling-coredump PRIVATE include
# TEMPORARY # this set of includes should probably be moved out because we probably want to be able to use Mach-O headers # in non-Darling compilation environments more often. by non-Darling, i mean when compiling directly for Linux # as we do in mldr and now here. ../startup/mldr/include)
install(TARGETS darling-coredump DESTINATION bin)
if (DARLING_COREDUMP_SANITIZE) target_compile_options(darling-coredump PRIVATE -fsanitize=address,undefined -fsanitize-recover=all -fno-omit-frame-pointer -g -Og ) target_link_options(darling-coredump PRIVATE -fsanitize=address,undefined -fsanitize-recover=all )endif()