summaryrefslogtreecommitdiffhomepage
path: root/dev/LibC++/lc_runtime+unreachable.cc
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-03-01 08:53:02 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-03-01 08:53:02 +0100
commitedc661ccfcba5f7aa5b3582db6295d109f69e381 (patch)
tree96e3a400b13395c23ae4cda78c5b056e5d78e2d8 /dev/LibC++/lc_runtime+unreachable.cc
parent00ccc4cfdd391e2f37e601c55af7a55081ac73d9 (diff)
LCRT: Update symbol of __libcompiler_unreachable and implement it.
Diffstat (limited to 'dev/LibC++/lc_runtime+unreachable.cc')
-rw-r--r--dev/LibC++/lc_runtime+unreachable.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev/LibC++/lc_runtime+unreachable.cc b/dev/LibC++/lc_runtime+unreachable.cc
new file mode 100644
index 0000000..ca1e26d
--- /dev/null
+++ b/dev/LibC++/lc_runtime+unreachable.cc
@@ -0,0 +1,13 @@
+/* -------------------------------------------
+ \
+ Copyright (C) 2025 Amlal EL Mahrouss, all rights reserved. \
+ \
+------------------------------------------- */
+
+
+#include <LibC++/lc_runtime.h>
+
+extern "C" void __libcompiler_unreachable(void)
+{
+ while (true);
+} \ No newline at end of file