From 9d06ab6ded7ff156acf19076dbf834424390dfe3 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Tue, 22 Sep 2015 00:01:39 +0000 Subject: [PATCH] Rename Chunks.(h|cpp) to InputSection.(h|cpp). NFC. llvm-svn: 248226 --- lld/ELF/CMakeLists.txt | 2 +- lld/ELF/InputFiles.cpp | 2 +- lld/ELF/InputFiles.h | 2 +- lld/ELF/{Chunks.cpp => InputSection.cpp} | 4 ++-- lld/ELF/{Chunks.h => InputSection.h} | 6 +++--- lld/ELF/Symbols.cpp | 2 +- lld/ELF/Symbols.h | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) rename lld/ELF/{Chunks.cpp => InputSection.cpp} (98%) rename lld/ELF/{Chunks.h => InputSection.h} (95%) diff --git a/lld/ELF/CMakeLists.txt b/lld/ELF/CMakeLists.txt index 49948e350cfd..12ae12a50821 100644 --- a/lld/ELF/CMakeLists.txt +++ b/lld/ELF/CMakeLists.txt @@ -3,11 +3,11 @@ tablegen(LLVM Options.inc -gen-opt-parser-defs) add_public_tablegen_target(ELFOptionsTableGen) add_llvm_library(lldELF2 - Chunks.cpp Driver.cpp DriverUtils.cpp Error.cpp InputFiles.cpp + InputSection.cpp OutputSections.cpp SymbolTable.cpp Symbols.cpp diff --git a/lld/ELF/InputFiles.cpp b/lld/ELF/InputFiles.cpp index 654aa8985904..dc3616099a82 100644 --- a/lld/ELF/InputFiles.cpp +++ b/lld/ELF/InputFiles.cpp @@ -8,7 +8,7 @@ //===----------------------------------------------------------------------===// #include "InputFiles.h" -#include "Chunks.h" +#include "InputSection.h" #include "Error.h" #include "Symbols.h" #include "llvm/ADT/STLExtras.h" diff --git a/lld/ELF/InputFiles.h b/lld/ELF/InputFiles.h index 32f30c1b3e4e..ed0defac5d7b 100644 --- a/lld/ELF/InputFiles.h +++ b/lld/ELF/InputFiles.h @@ -10,7 +10,7 @@ #ifndef LLD_ELF_INPUT_FILES_H #define LLD_ELF_INPUT_FILES_H -#include "Chunks.h" +#include "InputSection.h" #include "Error.h" #include "Symbols.h" diff --git a/lld/ELF/Chunks.cpp b/lld/ELF/InputSection.cpp similarity index 98% rename from lld/ELF/Chunks.cpp rename to lld/ELF/InputSection.cpp index b0829af71e5f..e5ef5c07d0c1 100644 --- a/lld/ELF/Chunks.cpp +++ b/lld/ELF/InputSection.cpp @@ -1,4 +1,4 @@ -//===- Chunks.cpp ---------------------------------------------------------===// +//===- InputSection.cpp ---------------------------------------------------===// // // The LLVM Linker // @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// -#include "Chunks.h" +#include "InputSection.h" #include "Error.h" #include "InputFiles.h" #include "OutputSections.h" diff --git a/lld/ELF/Chunks.h b/lld/ELF/InputSection.h similarity index 95% rename from lld/ELF/Chunks.h rename to lld/ELF/InputSection.h index c0db824367fd..f590f2449011 100644 --- a/lld/ELF/Chunks.h +++ b/lld/ELF/InputSection.h @@ -1,4 +1,4 @@ -//===- Chunks.h -------------------------------------------------*- C++ -*-===// +//===- InputSection.h -------------------------------------------*- C++ -*-===// // // The LLVM Linker // @@ -7,8 +7,8 @@ // //===----------------------------------------------------------------------===// -#ifndef LLD_ELF_CHUNKS_H -#define LLD_ELF_CHUNKS_H +#ifndef LLD_ELF_INPUT_SECTION_H +#define LLD_ELF_INPUT_SECTION_H #include "lld/Core/LLVM.h" #include "llvm/Object/ELF.h" diff --git a/lld/ELF/Symbols.cpp b/lld/ELF/Symbols.cpp index c3c90e0f02a6..204a0d6dac1d 100644 --- a/lld/ELF/Symbols.cpp +++ b/lld/ELF/Symbols.cpp @@ -8,7 +8,7 @@ //===----------------------------------------------------------------------===// #include "Symbols.h" -#include "Chunks.h" +#include "InputSection.h" #include "Error.h" #include "InputFiles.h" diff --git a/lld/ELF/Symbols.h b/lld/ELF/Symbols.h index 404bcca6d7a9..0fcdd5add8b6 100644 --- a/lld/ELF/Symbols.h +++ b/lld/ELF/Symbols.h @@ -10,7 +10,7 @@ #ifndef LLD_ELF_SYMBOLS_H #define LLD_ELF_SYMBOLS_H -#include "Chunks.h" +#include "InputSection.h" #include "lld/Core/LLVM.h" #include "llvm/Object/Archive.h"