this repo has no description
at fixPythonPipStalling 37 lines 932 B view raw
1project(hosttools) 2 3option(DARLING_COREDUMP_SANITIZE "Enable/disable ASAN and UBSAN in darling-coredump" OFF) 4 5add_executable(darling-coredump 6 src/coredump/main.cpp 7) 8 9target_compile_options(darling-coredump PRIVATE 10 -std=c++17 11) 12 13target_include_directories(darling-coredump PRIVATE 14 include 15 16 # TEMPORARY 17 # this set of includes should probably be moved out because we probably want to be able to use Mach-O headers 18 # in non-Darling compilation environments more often. by non-Darling, i mean when compiling directly for Linux 19 # as we do in mldr and now here. 20 ../startup/mldr/include 21) 22 23install(TARGETS darling-coredump DESTINATION bin) 24 25if (DARLING_COREDUMP_SANITIZE) 26 target_compile_options(darling-coredump PRIVATE 27 -fsanitize=address,undefined 28 -fsanitize-recover=all 29 -fno-omit-frame-pointer 30 -g 31 -Og 32 ) 33 target_link_options(darling-coredump PRIVATE 34 -fsanitize=address,undefined 35 -fsanitize-recover=all 36 ) 37endif()