From 6292f117c39b9fc72da4e40328eeeda2aa94a5f2 Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Mon, 30 Sep 2024 13:20:02 +1000 Subject: [PATCH] [ORC-RT] Rename sections_tracker.h to record_section_tracker.h. This matches the type name defined in this header. --- compiler-rt/lib/orc/elfnix_platform.cpp | 2 +- compiler-rt/lib/orc/macho_platform.cpp | 2 +- .../orc/{sections_tracker.h => record_section_tracker.h} | 9 ++++----- 3 files changed, 6 insertions(+), 7 deletions(-) rename compiler-rt/lib/orc/{sections_tracker.h => record_section_tracker.h} (93%) diff --git a/compiler-rt/lib/orc/elfnix_platform.cpp b/compiler-rt/lib/orc/elfnix_platform.cpp index e0813a40f1e3a5..57673f088f77cb 100644 --- a/compiler-rt/lib/orc/elfnix_platform.cpp +++ b/compiler-rt/lib/orc/elfnix_platform.cpp @@ -15,7 +15,7 @@ #include "compiler.h" #include "error.h" #include "jit_dispatch.h" -#include "sections_tracker.h" +#include "record_section_tracker.h" #include "wrapper_function_utils.h" #include diff --git a/compiler-rt/lib/orc/macho_platform.cpp b/compiler-rt/lib/orc/macho_platform.cpp index a65e5b94eb4f40..afd90c791ae135 100644 --- a/compiler-rt/lib/orc/macho_platform.cpp +++ b/compiler-rt/lib/orc/macho_platform.cpp @@ -17,7 +17,7 @@ #include "error.h" #include "interval_map.h" #include "jit_dispatch.h" -#include "sections_tracker.h" +#include "record_section_tracker.h" #include "wrapper_function_utils.h" #include diff --git a/compiler-rt/lib/orc/sections_tracker.h b/compiler-rt/lib/orc/record_section_tracker.h similarity index 93% rename from compiler-rt/lib/orc/sections_tracker.h rename to compiler-rt/lib/orc/record_section_tracker.h index 10851c47aa49e5..1ac729a9539196 100644 --- a/compiler-rt/lib/orc/sections_tracker.h +++ b/compiler-rt/lib/orc/record_section_tracker.h @@ -1,5 +1,4 @@ -//===- sections_tracker.h - RecordSectionsTracker utilities for the ORC runtime -//----------*- C++ -*-===// +//===- record_section_tracker.h -- for fixed-sized record sects -*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. @@ -12,8 +11,8 @@ // //===----------------------------------------------------------------------===// -#ifndef ORC_RT_SECTIONSTRACKER_H -#define ORC_RT_SECTIONSTRACKER_H +#ifndef ORC_RT_RECORD_SECTION_TRACKER_H +#define ORC_RT_RECORD_SECTION_TRACKER_H #include "error.h" #include "executor_address.h" @@ -111,4 +110,4 @@ template class RecordSectionsTracker { } // namespace orc_rt -#endif // ORC_RT_SECTIONSTRACKER_H +#endif // ORC_RT_RECORD_SECTION_TRACKER_H