aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libunwind
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-03-15 19:59:12 +0300
committeralexv-smirnov <alex@ydb.tech>2023-03-15 19:59:12 +0300
commit056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11 (patch)
tree4740980126f32e3af7937ba0ca5f83e59baa4ab0 /contrib/libs/libunwind
parent269126dcced1cc8b53eb4398b4a33e5142f10290 (diff)
downloadydb-056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11.tar.gz
add library/cpp/actors, ymake build to ydb oss export
Diffstat (limited to 'contrib/libs/libunwind')
-rw-r--r--contrib/libs/libunwind/ya.make63
1 files changed, 63 insertions, 0 deletions
diff --git a/contrib/libs/libunwind/ya.make b/contrib/libs/libunwind/ya.make
new file mode 100644
index 0000000000..1af0243b61
--- /dev/null
+++ b/contrib/libs/libunwind/ya.make
@@ -0,0 +1,63 @@
+# Generated by devtools/yamaker from nixpkgs 22.05.
+
+LIBRARY()
+
+LICENSE(
+ Apache-2.0 AND
+ Apache-2.0 WITH LLVM-exception AND
+ MIT AND
+ NCSA
+)
+
+LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
+
+VERSION(14.0.6)
+
+ORIGINAL_SOURCE(https://github.com/llvm/llvm-project/archive/llvmorg-14.0.6.tar.gz)
+
+DISABLE(USE_LTO)
+
+ADDINCL(
+ contrib/libs/libunwind/include
+)
+
+NO_RUNTIME()
+
+NO_UTIL()
+
+NO_SANITIZE()
+
+NO_SANITIZE_COVERAGE()
+
+CFLAGS(
+ GLOBAL -D_libunwind_
+ -D_LIBUNWIND_IS_NATIVE_ONLY
+ -fno-exceptions
+ -fno-rtti
+ -funwind-tables
+)
+
+IF (SANITIZER_TYPE == memory)
+ CFLAGS(
+ -fPIC
+ )
+ENDIF()
+
+SRCS(
+ src/Unwind-EHABI.cpp
+ src/Unwind-seh.cpp
+ src/Unwind-sjlj.c
+ src/UnwindLevel1-gcc-ext.c
+ src/UnwindLevel1.c
+ src/UnwindRegistersRestore.S
+ src/UnwindRegistersSave.S
+ src/libunwind.cpp
+)
+
+IF (OS_DARWIN OR OS_IOS)
+ SRCS(
+ src/Unwind_AppleExtras.cpp
+ )
+ENDIF()
+
+END()