[llvm] 255cc20 - [Support] Add missing files from e823068306e.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 13 13:30:57 PDT 2020


Author: Lang Hames
Date: 2020-04-13T13:30:45-07:00
New Revision: 255cc202ea610f9d6f5a5c6c9d40a2f2be235701

URL: https://github.com/llvm/llvm-project/commit/255cc202ea610f9d6f5a5c6c9d40a2f2be235701
DIFF: https://github.com/llvm/llvm-project/commit/255cc202ea610f9d6f5a5c6c9d40a2f2be235701.diff

LOG: [Support] Add missing files from e823068306e.

Added: 
    llvm/lib/Support/ExtensibleRTTI.cpp

Modified: 
    llvm/lib/Support/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Support/CMakeLists.txt b/llvm/lib/Support/CMakeLists.txt
index 897f183b660f..b2071bee4d2d 100644
--- a/llvm/lib/Support/CMakeLists.txt
+++ b/llvm/lib/Support/CMakeLists.txt
@@ -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
index 000000000000..1c98d1bb8feb
--- /dev/null
+++ b/llvm/lib/Support/ExtensibleRTTI.cpp
@@ -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;


        


More information about the llvm-commits mailing list