Skip to content

Commit 5d8e8e8

Browse files
committed
[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.
1 parent 36b1fb5 commit 5d8e8e8

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

compiler-rt/lib/orc/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
set(ORC_COMMON_SOURCES
55
debug.cpp
66
dlfcn_wrapper.cpp
7-
extensible_rtti.cpp
7+
rtti.cpp
88
log_error_to_stderr.cpp
99
run_program_wrapper.cpp
1010
resolve.cpp
@@ -18,7 +18,7 @@ set(ORC_COMMON_IMPL_HEADERS
1818
endianness.h
1919
error.h
2020
executor_address.h
21-
extensible_rtti.h
21+
rtti.h
2222
simple_packed_serialization.h
2323
stl_extras.h
2424
wrapper_function_utils.h

compiler-rt/lib/orc/error.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#define ORC_RT_ERROR_H
1111

1212
#include "compiler.h"
13-
#include "extensible_rtti.h"
13+
#include "rtti.h"
1414
#include "stl_extras.h"
1515

1616
#include <cassert>

compiler-rt/lib/orc/extensible_rtti.cpp renamed to compiler-rt/lib/orc/rtti.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===- extensible_rtti.cpp ------------------------------------------------===//
1+
//===- rtti.cpp -----------------------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
@@ -14,7 +14,7 @@
1414
//
1515
//===----------------------------------------------------------------------===//
1616

17-
#include "extensible_rtti.h"
17+
#include "rtti.h"
1818

1919
namespace orc_rt {
2020

compiler-rt/lib/orc/extensible_rtti.h renamed to compiler-rt/lib/orc/rtti.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===------ extensible_rtti.h - Extensible RTTI for ORC RT ------*- C++ -*-===//
1+
//===------------- rtti.h - RTTI support for ORC RT -------------*- C++ -*-===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
@@ -56,8 +56,8 @@
5656
//
5757
//===----------------------------------------------------------------------===//
5858

59-
#ifndef ORC_RT_EXTENSIBLE_RTTI_H
60-
#define ORC_RT_EXTENSIBLE_RTTI_H
59+
#ifndef ORC_RT_RTTI_H
60+
#define ORC_RT_RTTI_H
6161

6262
namespace orc_rt {
6363

@@ -142,4 +142,4 @@ template <typename To, typename From> bool isa(const From &Value) {
142142

143143
} // namespace orc_rt
144144

145-
#endif // ORC_RT_EXTENSIBLE_RTTI_H
145+
#endif // ORC_RT_RTTI_H

compiler-rt/lib/orc/tests/unit/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set(UNITTEST_SOURCES
77
error_test.cpp
88
executor_address_test.cpp
99
executor_symbol_def_test.cpp
10-
extensible_rtti_test.cpp
10+
rtti_test.cpp
1111
interval_map_test.cpp
1212
interval_set_test.cpp
1313
orc_unit_test_main.cpp

compiler-rt/lib/orc/tests/unit/extensible_rtti_test.cpp renamed to compiler-rt/lib/orc/tests/unit/rtti_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- extensible_rtti_test.cpp ------------------------------------------===//
1+
//===-- rtti_test.cpp -----------------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
@@ -14,7 +14,7 @@
1414
//
1515
//===----------------------------------------------------------------------===//
1616

17-
#include "extensible_rtti.h"
17+
#include "rtti.h"
1818
#include "gtest/gtest.h"
1919

2020
using namespace orc_rt;

0 commit comments

Comments
 (0)