summaryrefslogtreecommitdiffstats
path: root/runtime/base/macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/base/macros.h')
-rw-r--r--runtime/base/macros.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/base/macros.h b/runtime/base/macros.h
index fae9271d9e..b66d528d1b 100644
--- a/runtime/base/macros.h
+++ b/runtime/base/macros.h
@@ -179,6 +179,7 @@ char (&ArraySizeHelper(T (&array)[N]))[N];
#define WARN_UNUSED __attribute__((warn_unused_result))
template<typename T> void UNUSED(const T&) {}
+#define UNREACHABLE __builtin_unreachable
// Annotalysis thread-safety analysis support.
#if defined(__SUPPORT_TS_ANNOTATION__) || defined(__clang__)