[lld-macho] Rename CallGraphSort.{h,cpp} to SectionPriorities

This is in preparation for moving the code that parses and processes
order files into this file.

See https://reviews.llvm.org/D117354 for context and discussion.
This commit is contained in:
Leonard Grey 2022-01-24 16:51:51 -05:00
parent a22d870a4e
commit f23d57a632
5 changed files with 8 additions and 8 deletions

View File

@ -10,7 +10,6 @@ add_lld_library(lldMachO
Arch/ARM64Common.cpp
Arch/ARM64_32.cpp
Arch/X86_64.cpp
CallGraphSort.cpp
ConcatOutputSection.cpp
Driver.cpp
DriverUtils.cpp
@ -26,6 +25,7 @@ add_lld_library(lldMachO
OutputSection.cpp
OutputSegment.cpp
Relocations.cpp
SectionPriorities.cpp
SymbolTable.cpp
Symbols.cpp
SyntheticSections.cpp

View File

@ -1,4 +1,4 @@
//===- CallGraphSort.cpp --------------------------------------------------===//
//===- SectionPriorities.cpp ----------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@ -11,7 +11,7 @@
///
//===----------------------------------------------------------------------===//
#include "CallGraphSort.h"
#include "SectionPriorities.h"
#include "Config.h"
#include "InputFiles.h"
#include "Symbols.h"

View File

@ -1,4 +1,4 @@
//===- CallGraphSort.h ------------------------------------------*- C++ -*-===//
//===- SectionPriorities.h --------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//
#ifndef LLD_MACHO_CALL_GRAPH_SORT_H
#define LLD_MACHO_CALL_GRAPH_SORT_H
#ifndef LLD_MACHO_SECTION_PRIORITIES_H
#define LLD_MACHO_SECTION_PRIORITIES_H
#include "InputSection.h"
#include "llvm/ADT/DenseMap.h"

View File

@ -7,7 +7,6 @@
//===----------------------------------------------------------------------===//
#include "Writer.h"
#include "CallGraphSort.h"
#include "ConcatOutputSection.h"
#include "Config.h"
#include "InputFiles.h"
@ -15,6 +14,7 @@
#include "MapFile.h"
#include "OutputSection.h"
#include "OutputSegment.h"
#include "SectionPriorities.h"
#include "SymbolTable.h"
#include "Symbols.h"
#include "SyntheticSections.h"

View File

@ -27,7 +27,6 @@ static_library("MachO") {
"Arch/ARM64Common.cpp",
"Arch/ARM64_32.cpp",
"Arch/X86_64.cpp",
"CallGraphSort.cpp",
"ConcatOutputSection.cpp",
"Driver.cpp",
"DriverUtils.cpp",
@ -43,6 +42,7 @@ static_library("MachO") {
"OutputSection.cpp",
"OutputSegment.cpp",
"Relocations.cpp",
"SectionPriorities.cpp",
"SymbolTable.cpp",
"Symbols.cpp",
"SyntheticSections.cpp",