From bbfffc8ce49b9afe854f0799513ab6b7891d6dab Mon Sep 17 00:00:00 2001 From: Richard Qin Date: Wed, 21 Oct 2026 08:10:34 +0800 Subject: [CMake] Add RCC platform configuration checks --- rcc/cmake/unwind.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 rcc/cmake/unwind.h (limited to 'rcc/cmake/unwind.h') diff --git a/rcc/cmake/unwind.h b/rcc/cmake/unwind.h new file mode 100644 index 0000000..52243f2 --- /dev/null +++ b/rcc/cmake/unwind.h @@ -0,0 +1,8 @@ +// NOLINT: llvm-header-guard +// __register_frame() is used with dynamically generated code to register the +// FDE for a generated (JIT) code. This header provides protypes, since the gcc +// version of unwind.h may not, so CMake can check if the corresponding symbols +// exist in the runtime. +extern void __register_frame(const void *fde); // NOLINT +extern void __deregister_frame(const void *fde); // NOLINT +extern void __unw_add_dynamic_fde(); // NOLINT -- cgit v1.2.3