diff options
author | emaste <emaste@FreeBSD.org> | 2016-01-09 00:42:07 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2016-01-09 00:42:07 +0000 |
commit | b88b2cfedcccee796c18c2898e226c63b9959fcc (patch) | |
tree | ba3eadca67152e1581a6aee881d2b42ca3a2ed0a /tools | |
parent | f1d7628d6be0a172983bb0a8b843f1bbf704e1ef (diff) | |
download | FreeBSD-src-b88b2cfedcccee796c18c2898e226c63b9959fcc.zip FreeBSD-src-b88b2cfedcccee796c18c2898e226c63b9959fcc.tar.gz |
Support use of LLVM's libunwind for exception unwinding
It is built in libgcc_s.so and libgcc_eh.a to simplify transition.
It is enabled by default on arm64 (where we previously had no other
unwinder) and may be enabled for testing on other platforms by setting
WITH_LLVM_LIBUNWIND in src.conf(5).
Also add compiler-rt's __gcc_personality_v0 implementation for use with
the LLVM unwinder.
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D4787
Diffstat (limited to 'tools')
-rw-r--r-- | tools/build/options/WITHOUT_LLVM_LIBUNWIND | 2 | ||||
-rw-r--r-- | tools/build/options/WITH_LLVM_LIBUNWIND | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tools/build/options/WITHOUT_LLVM_LIBUNWIND b/tools/build/options/WITHOUT_LLVM_LIBUNWIND new file mode 100644 index 0000000..63a9042 --- /dev/null +++ b/tools/build/options/WITHOUT_LLVM_LIBUNWIND @@ -0,0 +1,2 @@ +.\" $FreeBSD$ +Set to use GCC's stack unwinder (instead of LLVM's libunwind). diff --git a/tools/build/options/WITH_LLVM_LIBUNWIND b/tools/build/options/WITH_LLVM_LIBUNWIND new file mode 100644 index 0000000..ff63884 --- /dev/null +++ b/tools/build/options/WITH_LLVM_LIBUNWIND @@ -0,0 +1,2 @@ +.\" $FreeBSD$ +Set to use LLVM's libunwind stack unwinder (instead of GCC's unwinder). |