Skip to content

Commit

Permalink
[ORC-RT] Rename sections_tracker.h to record_section_tracker.h.
Browse files Browse the repository at this point in the history
This matches the type name defined in this header.
  • Loading branch information
lhames committed Sep 30, 2024
1 parent 4ef77d6 commit 6292f11
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion compiler-rt/lib/orc/elfnix_platform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <algorithm>
Expand Down
2 changes: 1 addition & 1 deletion compiler-rt/lib/orc/macho_platform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <algorithm>
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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"
Expand Down Expand Up @@ -111,4 +110,4 @@ template <typename RecordElement> class RecordSectionsTracker {

} // namespace orc_rt

#endif // ORC_RT_SECTIONSTRACKER_H
#endif // ORC_RT_RECORD_SECTION_TRACKER_H

0 comments on commit 6292f11

Please sign in to comment.