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;