From 7ee88b5172689c00ff22942f46b49c3f04aa709b Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Mon, 13 Apr 2020 13:29:59 -0700 Subject: [PATCH] [Support] Add missing files from e823068306e. --- lib/Support/CMakeLists.txt | 1 + lib/Support/ExtensibleRTTI.cpp | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 lib/Support/ExtensibleRTTI.cpp diff --git a/lib/Support/CMakeLists.txt b/lib/Support/CMakeLists.txt index 897f183b660..b2071bee4d2 100644 --- a/lib/Support/CMakeLists.txt +++ b/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/lib/Support/ExtensibleRTTI.cpp b/lib/Support/ExtensibleRTTI.cpp new file mode 100644 index 00000000000..1c98d1bb8fe --- /dev/null +++ b/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;