[ORC-RT] Rename extensible_rtti.{h,cpp} to rtti.{h,cpp}. NFCI.

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.
This commit is contained in:
Lang Hames
2025-03-24 13:33:45 +11:00
parent 36b1fb5c7a
commit 5d8e8e82e1
6 changed files with 12 additions and 12 deletions

View File

@@ -4,7 +4,7 @@
set(ORC_COMMON_SOURCES
debug.cpp
dlfcn_wrapper.cpp
extensible_rtti.cpp
rtti.cpp
log_error_to_stderr.cpp
run_program_wrapper.cpp
resolve.cpp
@@ -18,7 +18,7 @@ set(ORC_COMMON_IMPL_HEADERS
endianness.h
error.h
executor_address.h
extensible_rtti.h
rtti.h
simple_packed_serialization.h
stl_extras.h
wrapper_function_utils.h

View File

@@ -10,7 +10,7 @@
#define ORC_RT_ERROR_H
#include "compiler.h"
#include "extensible_rtti.h"
#include "rtti.h"
#include "stl_extras.h"
#include <cassert>

View File

@@ -1,4 +1,4 @@
//===- extensible_rtti.cpp ------------------------------------------------===//
//===- 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.
@@ -14,7 +14,7 @@
//
//===----------------------------------------------------------------------===//
#include "extensible_rtti.h"
#include "rtti.h"
namespace orc_rt {

View File

@@ -1,4 +1,4 @@
//===------ extensible_rtti.h - Extensible RTTI for ORC RT ------*- C++ -*-===//
//===------------- rtti.h - RTTI support for ORC RT -------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -56,8 +56,8 @@
//
//===----------------------------------------------------------------------===//
#ifndef ORC_RT_EXTENSIBLE_RTTI_H
#define ORC_RT_EXTENSIBLE_RTTI_H
#ifndef ORC_RT_RTTI_H
#define ORC_RT_RTTI_H
namespace orc_rt {
@@ -142,4 +142,4 @@ template <typename To, typename From> bool isa(const From &Value) {
} // namespace orc_rt
#endif // ORC_RT_EXTENSIBLE_RTTI_H
#endif // ORC_RT_RTTI_H

View File

@@ -7,7 +7,7 @@ set(UNITTEST_SOURCES
error_test.cpp
executor_address_test.cpp
executor_symbol_def_test.cpp
extensible_rtti_test.cpp
rtti_test.cpp
interval_map_test.cpp
interval_set_test.cpp
orc_unit_test_main.cpp

View File

@@ -1,4 +1,4 @@
//===-- extensible_rtti_test.cpp ------------------------------------------===//
//===-- rtti_test.cpp -----------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -14,7 +14,7 @@
//
//===----------------------------------------------------------------------===//
#include "extensible_rtti.h"
#include "rtti.h"
#include "gtest/gtest.h"
using namespace orc_rt;