forked from emscripten-core/emscripten
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update libunwind to LLVM 16.0.6 (emscripten-core#20088)
- Loading branch information
Showing
38 changed files
with
5,613 additions
and
2,082 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
set(files | ||
__libunwind_config.h | ||
libunwind.h | ||
libunwind.modulemap | ||
mach-o/compact_unwind_encoding.h | ||
mach-o/compact_unwind_encoding.modulemap | ||
unwind_arm_ehabi.h | ||
unwind_itanium.h | ||
unwind.h | ||
) | ||
|
||
add_library(unwind-headers INTERFACE) | ||
target_include_directories(unwind-headers INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}) | ||
|
||
if(LIBUNWIND_INSTALL_HEADERS) | ||
foreach(file ${files}) | ||
get_filename_component(dir ${file} DIRECTORY) | ||
install(FILES ${file} | ||
DESTINATION "${LIBUNWIND_INSTALL_INCLUDE_DIR}/${dir}" | ||
COMPONENT unwind-headers | ||
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ | ||
) | ||
endforeach() | ||
|
||
if(NOT CMAKE_CONFIGURATION_TYPES) | ||
add_custom_target(install-unwind-headers | ||
DEPENDS unwind-headers | ||
COMMAND "${CMAKE_COMMAND}" | ||
-DCMAKE_INSTALL_COMPONENT=unwind-headers | ||
-P "${LIBUNWIND_BINARY_DIR}/cmake_install.cmake") | ||
add_custom_target(install-unwind-headers-stripped DEPENDS install-unwind-headers) | ||
endif() | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.