aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/compiler-rt/lib/orc/extensible_rtti.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm-project/compiler-rt/lib/orc/extensible_rtti.cpp')
-rw-r--r--contrib/llvm-project/compiler-rt/lib/orc/extensible_rtti.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/contrib/llvm-project/compiler-rt/lib/orc/extensible_rtti.cpp b/contrib/llvm-project/compiler-rt/lib/orc/extensible_rtti.cpp
new file mode 100644
index 000000000000..c6951a449a3d
--- /dev/null
+++ b/contrib/llvm-project/compiler-rt/lib/orc/extensible_rtti.cpp
@@ -0,0 +1,24 @@
+//===- extensible_rtti.cpp ------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+//
+// This file is a part of the ORC runtime support library.
+//
+// Note:
+// This source file was adapted from lib/Support/ExtensibleRTTI.cpp, however
+// the data structures are not shared and the code need not be kept in sync.
+//
+//===----------------------------------------------------------------------===//
+
+#include "extensible_rtti.h"
+
+namespace __orc_rt {
+
+char RTTIRoot::ID = 0;
+void RTTIRoot::anchor() {}
+
+} // end namespace __orc_rt