diff --git a/llvm/lib/ObjCopy/CMakeLists.txt b/llvm/lib/ObjCopy/CMakeLists.txt --- a/llvm/lib/ObjCopy/CMakeLists.txt +++ b/llvm/lib/ObjCopy/CMakeLists.txt @@ -34,19 +34,19 @@ ObjCopy.cpp ConfigManager.cpp COFF/COFFObjcopy.cpp - COFF/Object.cpp - COFF/Reader.cpp - COFF/Writer.cpp + COFF/COFFObject.cpp + COFF/COFFReader.cpp + COFF/COFFWriter.cpp ELF/ELFObjcopy.cpp - ELF/Object.cpp + ELF/ELFObject.cpp MachO/MachOObjcopy.cpp MachO/MachOReader.cpp MachO/MachOWriter.cpp MachO/MachOLayoutBuilder.cpp - MachO/Object.cpp - wasm/Object.cpp - wasm/Reader.cpp - wasm/Writer.cpp + MachO/MachOObject.cpp + wasm/WasmObject.cpp + wasm/WasmReader.cpp + wasm/WasmWriter.cpp wasm/WasmObjcopy.cpp ADDITIONAL_HEADER_DIRS diff --git a/llvm/lib/ObjCopy/COFF/COFFObjcopy.cpp b/llvm/lib/ObjCopy/COFF/COFFObjcopy.cpp --- a/llvm/lib/ObjCopy/COFF/COFFObjcopy.cpp +++ b/llvm/lib/ObjCopy/COFF/COFFObjcopy.cpp @@ -7,9 +7,9 @@ //===----------------------------------------------------------------------===// #include "llvm/ObjCopy/COFF/COFFObjcopy.h" -#include "Object.h" -#include "Reader.h" -#include "Writer.h" +#include "COFFObject.h" +#include "COFFReader.h" +#include "COFFWriter.h" #include "llvm/ObjCopy/COFF/COFFConfig.h" #include "llvm/ObjCopy/CommonConfig.h" diff --git a/llvm/lib/ObjCopy/COFF/Object.h b/llvm/lib/ObjCopy/COFF/COFFObject.h rename from llvm/lib/ObjCopy/COFF/Object.h rename to llvm/lib/ObjCopy/COFF/COFFObject.h --- a/llvm/lib/ObjCopy/COFF/Object.h +++ b/llvm/lib/ObjCopy/COFF/COFFObject.h @@ -1,4 +1,4 @@ -//===- Object.h -------------------------------------------------*- C++ -*-===// +//===- COFFObject.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 LLVM_LIB_OBJCOPY_COFF_OBJECT_H -#define LLVM_LIB_OBJCOPY_COFF_OBJECT_H +#ifndef LLVM_LIB_OBJCOPY_COFF_COFFOBJECT_H +#define LLVM_LIB_OBJCOPY_COFF_COFFOBJECT_H #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/DenseMap.h" @@ -209,4 +209,4 @@ } // end namespace objcopy } // end namespace llvm -#endif // LLVM_LIB_OBJCOPY_COFF_OBJECT_H +#endif // LLVM_LIB_OBJCOPY_COFF_COFFOBJECT_H diff --git a/llvm/lib/ObjCopy/COFF/Object.cpp b/llvm/lib/ObjCopy/COFF/COFFObject.cpp rename from llvm/lib/ObjCopy/COFF/Object.cpp rename to llvm/lib/ObjCopy/COFF/COFFObject.cpp --- a/llvm/lib/ObjCopy/COFF/Object.cpp +++ b/llvm/lib/ObjCopy/COFF/COFFObject.cpp @@ -1,4 +1,4 @@ -//===- Object.cpp ---------------------------------------------------------===// +//===- COFFObject.cpp -----------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -#include "Object.h" +#include "COFFObject.h" #include "llvm/ADT/DenseSet.h" #include diff --git a/llvm/lib/ObjCopy/COFF/Reader.h b/llvm/lib/ObjCopy/COFF/COFFReader.h rename from llvm/lib/ObjCopy/COFF/Reader.h rename to llvm/lib/ObjCopy/COFF/COFFReader.h --- a/llvm/lib/ObjCopy/COFF/Reader.h +++ b/llvm/lib/ObjCopy/COFF/COFFReader.h @@ -1,4 +1,4 @@ -//===- Reader.h -------------------------------------------------*- C++ -*-===// +//===- COFFReader.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 LLVM_LIB_OBJCOPY_COFF_READER_H -#define LLVM_LIB_OBJCOPY_COFF_READER_H +#ifndef LLVM_LIB_OBJCOPY_COFF_COFFREADER_H +#define LLVM_LIB_OBJCOPY_COFF_COFFREADER_H #include "llvm/BinaryFormat/COFF.h" #include "llvm/Object/COFF.h" @@ -38,4 +38,4 @@ } // end namespace objcopy } // end namespace llvm -#endif // LLVM_LIB_OBJCOPY_COFF_READER_H +#endif // LLVM_LIB_OBJCOPY_COFF_COFFREADER_H diff --git a/llvm/lib/ObjCopy/COFF/Reader.cpp b/llvm/lib/ObjCopy/COFF/COFFReader.cpp rename from llvm/lib/ObjCopy/COFF/Reader.cpp rename to llvm/lib/ObjCopy/COFF/COFFReader.cpp --- a/llvm/lib/ObjCopy/COFF/Reader.cpp +++ b/llvm/lib/ObjCopy/COFF/COFFReader.cpp @@ -1,4 +1,4 @@ -//===- Reader.cpp ---------------------------------------------------------===// +//===- COFFReader.cpp -----------------------------------------------------===// // // 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 @@ // //===----------------------------------------------------------------------===// -#include "Reader.h" -#include "Object.h" +#include "COFFReader.h" +#include "COFFObject.h" #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/StringRef.h" #include "llvm/BinaryFormat/COFF.h" diff --git a/llvm/lib/ObjCopy/COFF/Writer.h b/llvm/lib/ObjCopy/COFF/COFFWriter.h rename from llvm/lib/ObjCopy/COFF/Writer.h rename to llvm/lib/ObjCopy/COFF/COFFWriter.h --- a/llvm/lib/ObjCopy/COFF/Writer.h +++ b/llvm/lib/ObjCopy/COFF/COFFWriter.h @@ -1,4 +1,4 @@ -//===- Writer.h -------------------------------------------------*- C++ -*-===// +//===- COFFWriter.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 LLVM_LIB_OBJCOPY_COFF_WRITER_H -#define LLVM_LIB_OBJCOPY_COFF_WRITER_H +#ifndef LLVM_LIB_OBJCOPY_COFF_COFFWRITER_H +#define LLVM_LIB_OBJCOPY_COFF_COFFWRITER_H #include "llvm/MC/StringTableBuilder.h" #include "llvm/Support/Error.h" @@ -60,4 +60,4 @@ } // end namespace objcopy } // end namespace llvm -#endif // LLVM_LIB_OBJCOPY_COFF_WRITER_H +#endif // LLVM_LIB_OBJCOPY_COFF_COFFWRITER_H diff --git a/llvm/lib/ObjCopy/COFF/Writer.cpp b/llvm/lib/ObjCopy/COFF/COFFWriter.cpp rename from llvm/lib/ObjCopy/COFF/Writer.cpp rename to llvm/lib/ObjCopy/COFF/COFFWriter.cpp --- a/llvm/lib/ObjCopy/COFF/Writer.cpp +++ b/llvm/lib/ObjCopy/COFF/COFFWriter.cpp @@ -1,4 +1,4 @@ -//===- Writer.cpp ---------------------------------------------------------===// +//===- COFFWriter.cpp -----------------------------------------------------===// // // 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 @@ // //===----------------------------------------------------------------------===// -#include "Writer.h" -#include "Object.h" +#include "COFFWriter.h" +#include "COFFObject.h" #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/StringRef.h" #include "llvm/BinaryFormat/COFF.h" diff --git a/llvm/lib/ObjCopy/ELF/ELFObjcopy.cpp b/llvm/lib/ObjCopy/ELF/ELFObjcopy.cpp --- a/llvm/lib/ObjCopy/ELF/ELFObjcopy.cpp +++ b/llvm/lib/ObjCopy/ELF/ELFObjcopy.cpp @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include "llvm/ObjCopy/ELF/ELFObjcopy.h" -#include "Object.h" +#include "ELFObject.h" #include "llvm/ADT/BitmaskEnum.h" #include "llvm/ADT/DenseSet.h" #include "llvm/ADT/Optional.h" diff --git a/llvm/lib/ObjCopy/ELF/Object.h b/llvm/lib/ObjCopy/ELF/ELFObject.h rename from llvm/lib/ObjCopy/ELF/Object.h rename to llvm/lib/ObjCopy/ELF/ELFObject.h --- a/llvm/lib/ObjCopy/ELF/Object.h +++ b/llvm/lib/ObjCopy/ELF/ELFObject.h @@ -1,4 +1,4 @@ -//===- Object.h -------------------------------------------------*- C++ -*-===// +//===- ELFObject.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 LLVM_LIB_OBJCOPY_ELF_OBJECT_H -#define LLVM_LIB_OBJCOPY_ELF_OBJECT_H +#ifndef LLVM_LIB_OBJCOPY_ELF_ELFOBJECT_H +#define LLVM_LIB_OBJCOPY_ELF_ELFOBJECT_H #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/StringRef.h" @@ -1110,4 +1110,4 @@ } // end namespace objcopy } // end namespace llvm -#endif // LLVM_LIB_OBJCOPY_ELF_OBJECT_H +#endif // LLVM_LIB_OBJCOPY_ELF_ELFOBJECT_H diff --git a/llvm/lib/ObjCopy/ELF/Object.cpp b/llvm/lib/ObjCopy/ELF/ELFObject.cpp rename from llvm/lib/ObjCopy/ELF/Object.cpp rename to llvm/lib/ObjCopy/ELF/ELFObject.cpp --- a/llvm/lib/ObjCopy/ELF/Object.cpp +++ b/llvm/lib/ObjCopy/ELF/ELFObject.cpp @@ -1,4 +1,4 @@ -//===- Object.cpp ---------------------------------------------------------===// +//===- ELFObject.cpp ------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -#include "Object.h" +#include "ELFObject.h" #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/StringRef.h" diff --git a/llvm/lib/ObjCopy/MachO/MachOLayoutBuilder.h b/llvm/lib/ObjCopy/MachO/MachOLayoutBuilder.h --- a/llvm/lib/ObjCopy/MachO/MachOLayoutBuilder.h +++ b/llvm/lib/ObjCopy/MachO/MachOLayoutBuilder.h @@ -9,7 +9,7 @@ #ifndef LLVM_LIB_OBJCOPY_MACHO_MACHOLAYOUTBUILDER_H #define LLVM_LIB_OBJCOPY_MACHO_MACHOLAYOUTBUILDER_H -#include "Object.h" +#include "MachOObject.h" #include "llvm/ObjCopy/MachO/MachOObjcopy.h" namespace llvm { diff --git a/llvm/lib/ObjCopy/MachO/Object.h b/llvm/lib/ObjCopy/MachO/MachOObject.h rename from llvm/lib/ObjCopy/MachO/Object.h rename to llvm/lib/ObjCopy/MachO/MachOObject.h --- a/llvm/lib/ObjCopy/MachO/Object.h +++ b/llvm/lib/ObjCopy/MachO/MachOObject.h @@ -1,4 +1,4 @@ -//===- Object.h - Mach-O object file model ----------------------*- C++ -*-===// +//===- MachOObject.h - Mach-O object file model -----------------*- 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 LLVM_LIB_OBJCOPY_MACHO_OBJECT_H -#define LLVM_LIB_OBJCOPY_MACHO_OBJECT_H +#ifndef LLVM_LIB_OBJCOPY_MACHO_MACHOOBJECT_H +#define LLVM_LIB_OBJCOPY_MACHO_MACHOOBJECT_H #include "llvm/ADT/Optional.h" #include "llvm/ADT/StringRef.h" @@ -371,4 +371,4 @@ } // end namespace objcopy } // end namespace llvm -#endif // LLVM_LIB_OBJCOPY_MACHO_OBJECT_H +#endif // LLVM_LIB_OBJCOPY_MACHO_MACHOOBJECT_H diff --git a/llvm/lib/ObjCopy/MachO/Object.cpp b/llvm/lib/ObjCopy/MachO/MachOObject.cpp rename from llvm/lib/ObjCopy/MachO/Object.cpp rename to llvm/lib/ObjCopy/MachO/MachOObject.cpp --- a/llvm/lib/ObjCopy/MachO/Object.cpp +++ b/llvm/lib/ObjCopy/MachO/MachOObject.cpp @@ -1,4 +1,4 @@ -//===- Object.cpp - Mach-O object file model --------------------*- C++ -*-===// +//===- MachOObject.cpp - Mach-O object file model ---------------*- 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,7 +6,7 @@ // //===----------------------------------------------------------------------===// -#include "Object.h" +#include "MachOObject.h" #include "llvm/ADT/SmallPtrSet.h" #include diff --git a/llvm/lib/ObjCopy/MachO/MachOReader.h b/llvm/lib/ObjCopy/MachO/MachOReader.h --- a/llvm/lib/ObjCopy/MachO/MachOReader.h +++ b/llvm/lib/ObjCopy/MachO/MachOReader.h @@ -9,7 +9,7 @@ #ifndef LLVM_LIB_OBJCOPY_MACHO_MACHOREADER_H #define LLVM_LIB_OBJCOPY_MACHO_MACHOREADER_H -#include "Object.h" +#include "MachOObject.h" #include "llvm/BinaryFormat/MachO.h" #include "llvm/ObjCopy/MachO/MachOObjcopy.h" #include "llvm/Object/MachO.h" diff --git a/llvm/lib/ObjCopy/MachO/MachOReader.cpp b/llvm/lib/ObjCopy/MachO/MachOReader.cpp --- a/llvm/lib/ObjCopy/MachO/MachOReader.cpp +++ b/llvm/lib/ObjCopy/MachO/MachOReader.cpp @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include "MachOReader.h" -#include "Object.h" +#include "MachOObject.h" #include "llvm/BinaryFormat/MachO.h" #include "llvm/Object/MachO.h" #include "llvm/Support/Errc.h" diff --git a/llvm/lib/ObjCopy/MachO/MachOWriter.h b/llvm/lib/ObjCopy/MachO/MachOWriter.h --- a/llvm/lib/ObjCopy/MachO/MachOWriter.h +++ b/llvm/lib/ObjCopy/MachO/MachOWriter.h @@ -10,7 +10,7 @@ #define LLVM_LIB_OBJCOPY_MACHO_MACHOWRITER_H #include "MachOLayoutBuilder.h" -#include "Object.h" +#include "MachOObject.h" #include "llvm/BinaryFormat/MachO.h" #include "llvm/ObjCopy/MachO/MachOObjcopy.h" #include "llvm/Object/MachO.h" diff --git a/llvm/lib/ObjCopy/MachO/MachOWriter.cpp b/llvm/lib/ObjCopy/MachO/MachOWriter.cpp --- a/llvm/lib/ObjCopy/MachO/MachOWriter.cpp +++ b/llvm/lib/ObjCopy/MachO/MachOWriter.cpp @@ -8,7 +8,7 @@ #include "MachOWriter.h" #include "MachOLayoutBuilder.h" -#include "Object.h" +#include "MachOObject.h" #include "llvm/ADT/STLExtras.h" #include "llvm/BinaryFormat/MachO.h" #include "llvm/Object/MachO.h" diff --git a/llvm/lib/ObjCopy/wasm/WasmObjcopy.cpp b/llvm/lib/ObjCopy/wasm/WasmObjcopy.cpp --- a/llvm/lib/ObjCopy/wasm/WasmObjcopy.cpp +++ b/llvm/lib/ObjCopy/wasm/WasmObjcopy.cpp @@ -7,9 +7,9 @@ //===----------------------------------------------------------------------===// #include "llvm/ObjCopy/wasm/WasmObjcopy.h" -#include "Object.h" -#include "Reader.h" -#include "Writer.h" +#include "WasmObject.h" +#include "WasmReader.h" +#include "WasmWriter.h" #include "llvm/ObjCopy/CommonConfig.h" #include "llvm/Support/Errc.h" #include "llvm/Support/FileOutputBuffer.h" diff --git a/llvm/lib/ObjCopy/wasm/Object.h b/llvm/lib/ObjCopy/wasm/WasmObject.h rename from llvm/lib/ObjCopy/wasm/Object.h rename to llvm/lib/ObjCopy/wasm/WasmObject.h --- a/llvm/lib/ObjCopy/wasm/Object.h +++ b/llvm/lib/ObjCopy/wasm/WasmObject.h @@ -1,4 +1,4 @@ -//===- Object.h -------------------------------------------------*- C++ -*-===// +//===- WasmObject.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 LLVM_LIB_OBJCOPY_WASM_OBJECT_H -#define LLVM_LIB_OBJCOPY_WASM_OBJECT_H +#ifndef LLVM_LIB_OBJCOPY_WASM_WASMOBJECT_H +#define LLVM_LIB_OBJCOPY_WASM_WASMOBJECT_H #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/StringRef.h" @@ -44,4 +44,4 @@ } // end namespace objcopy } // end namespace llvm -#endif // LLVM_LIB_OBJCOPY_WASM_OBJECT_H +#endif // LLVM_LIB_OBJCOPY_WASM_WASMOBJECT_H diff --git a/llvm/lib/ObjCopy/wasm/Object.cpp b/llvm/lib/ObjCopy/wasm/WasmObject.cpp rename from llvm/lib/ObjCopy/wasm/Object.cpp rename to llvm/lib/ObjCopy/wasm/WasmObject.cpp --- a/llvm/lib/ObjCopy/wasm/Object.cpp +++ b/llvm/lib/ObjCopy/wasm/WasmObject.cpp @@ -1,4 +1,4 @@ -//===- Object.cpp ---------------------------------------------------------===// +//===- WasmObject.cpp -----------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -#include "Object.h" +#include "WasmObject.h" #include "llvm/Support/LEB128.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/lib/ObjCopy/wasm/Reader.h b/llvm/lib/ObjCopy/wasm/WasmReader.h rename from llvm/lib/ObjCopy/wasm/Reader.h rename to llvm/lib/ObjCopy/wasm/WasmReader.h --- a/llvm/lib/ObjCopy/wasm/Reader.h +++ b/llvm/lib/ObjCopy/wasm/WasmReader.h @@ -1,4 +1,4 @@ -//===- Reader.h -------------------------------------------------*- C++ -*-===// +//===- WasmReader.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,10 +6,10 @@ // //===----------------------------------------------------------------------===// -#ifndef LLVM_LIB_OBJCOPY_WASM_READER_H -#define LLVM_LIB_OBJCOPY_WASM_READER_H +#ifndef LLVM_LIB_OBJCOPY_WASM_WASMREADER_H +#define LLVM_LIB_OBJCOPY_WASM_WASMREADER_H -#include "Object.h" +#include "WasmObject.h" namespace llvm { namespace objcopy { @@ -28,4 +28,4 @@ } // end namespace objcopy } // end namespace llvm -#endif // LLVM_LIB_OBJCOPY_WASM_READER_H +#endif // LLVM_LIB_OBJCOPY_WASM_WASMREADER_H diff --git a/llvm/lib/ObjCopy/wasm/Reader.cpp b/llvm/lib/ObjCopy/wasm/WasmReader.cpp rename from llvm/lib/ObjCopy/wasm/Reader.cpp rename to llvm/lib/ObjCopy/wasm/WasmReader.cpp --- a/llvm/lib/ObjCopy/wasm/Reader.cpp +++ b/llvm/lib/ObjCopy/wasm/WasmReader.cpp @@ -1,4 +1,4 @@ -//===- Reader.cpp ---------------------------------------------------------===// +//===- WasmReader.cpp -----------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -#include "Reader.h" +#include "WasmReader.h" namespace llvm { namespace objcopy { diff --git a/llvm/lib/ObjCopy/wasm/Writer.h b/llvm/lib/ObjCopy/wasm/WasmWriter.h rename from llvm/lib/ObjCopy/wasm/Writer.h rename to llvm/lib/ObjCopy/wasm/WasmWriter.h --- a/llvm/lib/ObjCopy/wasm/Writer.h +++ b/llvm/lib/ObjCopy/wasm/WasmWriter.h @@ -1,4 +1,4 @@ -//===- Writer.h -------------------------------------------------*- C++ -*-===// +//===- WasmWriter.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,10 +6,10 @@ // //===----------------------------------------------------------------------===// -#ifndef LLVM_LIB_OBJCOPY_WASM_WRITER_H -#define LLVM_LIB_OBJCOPY_WASM_WRITER_H +#ifndef LLVM_LIB_OBJCOPY_WASM_WASMWRITER_H +#define LLVM_LIB_OBJCOPY_WASM_WASMWRITER_H -#include "Object.h" +#include "WasmObject.h" #include #include @@ -46,4 +46,4 @@ } // end namespace objcopy } // end namespace llvm -#endif // LLVM_LIB_OBJCOPY_WASM_WRITER_H +#endif // LLVM_LIB_OBJCOPY_WASM_WASMWRITER_H diff --git a/llvm/lib/ObjCopy/wasm/Writer.cpp b/llvm/lib/ObjCopy/wasm/WasmWriter.cpp rename from llvm/lib/ObjCopy/wasm/Writer.cpp rename to llvm/lib/ObjCopy/wasm/WasmWriter.cpp --- a/llvm/lib/ObjCopy/wasm/Writer.cpp +++ b/llvm/lib/ObjCopy/wasm/WasmWriter.cpp @@ -1,4 +1,4 @@ -//===- Writer.cpp ---------------------------------------------------------===// +//===- WasmWriter.cpp -----------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -#include "Writer.h" +#include "WasmWriter.h" #include "llvm/BinaryFormat/Wasm.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Errc.h"