llvm-capstone/libunwind
Sterling Augustine 5eb44df1b6 Make _LIBUNWIND_SUPPORT_FRAME_APIS a build-time option
Previously this was based on target architecture, but
that makes very little sense--frame API availability is generally
for libgcc compatibility and that is dependent on runtime
needs rather than target architecture.

Default this to on, so as not to remove the apis from
environments that already have them.

The functions this macro protects are stubs for libgcc-compatibility.
Today, libunwind as a drop-in replacement for libgcc_eh links on x86,
x86_64, and powerpc, but not aarch64, which doesn't really make
sense. As there is nothing architecture specific about these, they
should be provided everywhere or nowhere.

The target-specific protection goes all the way back to the original
code contribution in 312fcd0e1c from
2013, so the original reason is lost to history, and probably not
relevant today.

Differential Revision: https://reviews.llvm.org/D158011
2023-08-23 14:34:40 -07:00
..
cmake Revert "[CMake] Unify llvm_check_linker_flag and llvm_check_compiler_linker_flag" 2023-02-22 17:32:07 +00:00
docs [NFC][Py Reformat] Reformat python files in libcxx/libcxxabi 2023-05-25 11:15:34 +02:00
include MIPS: unwind, don't save/restore hi/lo for R6 2023-08-19 00:35:25 -04:00
src Make _LIBUNWIND_SUPPORT_FRAME_APIS a build-time option 2023-08-23 14:34:40 -07:00
test [NFC][Py Reformat] Reformat python files in libcxx/libcxxabi 2023-05-25 11:15:34 +02:00
.clang-format
CMakeLists.txt Make _LIBUNWIND_SUPPORT_FRAME_APIS a build-time option 2023-08-23 14:34:40 -07:00
LICENSE.TXT