[Support] Add missing files from e823068306e.
authorLang Hames <lhames@gmail.com>
Mon, 13 Apr 2020 20:29:59 +0000 (13:29 -0700)
committerLang Hames <lhames@gmail.com>
Mon, 13 Apr 2020 20:30:45 +0000 (13:30 -0700)
llvm/lib/Support/CMakeLists.txt
llvm/lib/Support/ExtensibleRTTI.cpp [new file with mode: 0644]

index 897f183..b2071be 100644 (file)
@@ -91,6 +91,7 @@ add_llvm_component_library(LLVMSupport
   ELFAttributes.cpp
   Error.cpp
   ErrorHandling.cpp
+  ExtensibleRTTI.cpp
   FileCheck.cpp
   FileCollector.cpp
   FileUtilities.cpp
diff --git a/llvm/lib/Support/ExtensibleRTTI.cpp b/llvm/lib/Support/ExtensibleRTTI.cpp
new file mode 100644 (file)
index 0000000..1c98d1b
--- /dev/null
@@ -0,0 +1,13 @@
+//===----- lib/Support/ExtensibleRTTI.cpp - ExtensibleRTTI utilities ------===//
+//
+//                     The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#include "llvm/Support/ExtensibleRTTI.h"
+
+void llvm::RTTIRoot::anchor() {}
+char llvm::RTTIRoot::ID = 0;