
The "extensible_" prefix on these files was inherited from LLVM, where it distinguished the dynamic RTTI APIs from the LLVM's custom static RTTI APIs. In the ORC runtime these files will be used to hold all of our RTTI APIs (the current dynamic ones, and any static ones added in the future), so we shouldn't use this prefix.
25 lines
796 B
C++
25 lines
796 B
C++
//===- rtti.cpp -----------------------------------------------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file is a part of the ORC runtime support library.
|
|
//
|
|
// Note:
|
|
// This source file was adapted from lib/Support/ExtensibleRTTI.cpp, however
|
|
// the data structures are not shared and the code need not be kept in sync.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "rtti.h"
|
|
|
|
namespace orc_rt {
|
|
|
|
char RTTIRoot::ID = 0;
|
|
void RTTIRoot::anchor() {}
|
|
|
|
} // namespace orc_rt
|