aboutsummaryrefslogtreecommitdiff
path: root/rcc/cmake/unwind.h
diff options
context:
space:
mode:
Diffstat (limited to 'rcc/cmake/unwind.h')
-rw-r--r--rcc/cmake/unwind.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/rcc/cmake/unwind.h b/rcc/cmake/unwind.h
new file mode 100644
index 0000000..6c03411
--- /dev/null
+++ b/rcc/cmake/unwind.h
@@ -0,0 +1,11 @@
+// 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