From 255cc202ea610f9d6f5a5c6c9d40a2f2be235701 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. --- llvm/lib/Support/CMakeLists.txt | 1 + llvm/lib/Support/ExtensibleRTTI.cpp | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 llvm/lib/Support/ExtensibleRTTI.cpp diff --git a/llvm/lib/Support/CMakeLists.txt b/llvm/lib/Support/CMakeLists.txt index 897f183..b2071be 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 0000000..1c98d1b --- /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; -- 2.7.4