Rename Chunks.(h|cpp) to InputSection.(h|cpp). NFC.
llvm-svn: 248226
diff --git a/lld/ELF/CMakeLists.txt b/lld/ELF/CMakeLists.txt
index 49948e35..12ae12a 100644
--- a/lld/ELF/CMakeLists.txt
+++ b/lld/ELF/CMakeLists.txt
@@ -3,11 +3,11 @@
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 654aa89..dc36160 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 32f30c1..ed0defa 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 b0829af..e5ef5c0 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 c0db824..f590f24 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 c3c90e0..204a0d6 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 404bcca..0fcdd5a 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"