[PATCH] D33843: Create a new library called ObjectLayout, and move headers from Support to there.

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 6 20:50:18 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL304864: Move Object format code to lib/BinaryFormat. (authored by zturner).

Changed prior to commit:
  https://reviews.llvm.org/D33843?vs=101581&id=101665#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D33843

Files:
  lld/trunk/COFF/Chunks.cpp
  lld/trunk/COFF/Driver.cpp
  lld/trunk/COFF/InputFiles.cpp
  lld/trunk/ELF/Config.h
  lld/trunk/ELF/EhFrame.cpp
  lld/trunk/ELF/ICF.cpp
  lld/trunk/ELF/LTO.cpp
  lld/trunk/ELF/LinkerScript.cpp
  lld/trunk/ELF/Mips.cpp
  lld/trunk/ELF/OutputSections.cpp
  lld/trunk/ELF/ScriptParser.cpp
  lld/trunk/ELF/SyntheticSections.cpp
  lld/trunk/ELF/Target.cpp
  lld/trunk/ELF/Thunks.cpp
  lld/trunk/include/lld/Core/Reader.h
  lld/trunk/include/lld/ReaderWriter/MachOLinkingContext.h
  lld/trunk/lib/Core/Reader.cpp
  lld/trunk/lib/Driver/DarwinLdDriver.cpp
  lld/trunk/lib/ReaderWriter/FileArchive.cpp
  lld/trunk/lib/ReaderWriter/MachO/ExecutableAtoms.h
  lld/trunk/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
  lld/trunk/lib/ReaderWriter/MachO/MachONormalizedFile.h
  lld/trunk/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
  lld/trunk/lib/ReaderWriter/MachO/MachONormalizedFileBinaryUtils.h
  lld/trunk/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
  lld/trunk/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
  lld/trunk/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
  lld/trunk/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
  lld/trunk/lib/ReaderWriter/MachO/WriterMachO.cpp
  lld/trunk/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
  lld/trunk/unittests/DriverTests/DarwinLdDriverTest.cpp
  lld/trunk/unittests/MachOTests/MachONormalizedFileBinaryReaderTests.cpp
  lld/trunk/unittests/MachOTests/MachONormalizedFileBinaryWriterTests.cpp
  lld/trunk/unittests/MachOTests/MachONormalizedFileToAtomsTests.cpp
  lld/trunk/unittests/MachOTests/MachONormalizedFileYAMLTests.cpp
  lldb/trunk/include/lldb/Core/dwarf.h
  lldb/trunk/include/lldb/Utility/SafeMachO.h
  lldb/trunk/source/Core/ArchSpec.cpp
  lldb/trunk/source/Core/CMakeLists.txt
  lldb/trunk/source/Plugins/ObjectFile/ELF/CMakeLists.txt
  lldb/trunk/source/Plugins/ObjectFile/ELF/ELFHeader.h
  lldb/trunk/source/Plugins/ObjectFile/PECOFF/CMakeLists.txt
  lldb/trunk/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
  lldb/trunk/source/Plugins/Process/elf-core/CMakeLists.txt
  lldb/trunk/source/Plugins/Process/elf-core/ProcessElfCore.cpp
  lldb/trunk/source/Utility/CMakeLists.txt
  lldb/trunk/unittests/Core/ArchSpecTest.cpp
  lldb/trunk/unittests/Core/StructuredDataTest.cpp
  llvm/trunk/examples/ExceptionDemo/ExceptionDemo.cpp
  llvm/trunk/include/llvm/BinaryFormat/COFF.h
  llvm/trunk/include/llvm/BinaryFormat/Dwarf.def
  llvm/trunk/include/llvm/BinaryFormat/Dwarf.h
  llvm/trunk/include/llvm/BinaryFormat/ELF.h
  llvm/trunk/include/llvm/BinaryFormat/ELFRelocs/AArch64.def
  llvm/trunk/include/llvm/BinaryFormat/ELFRelocs/AMDGPU.def
  llvm/trunk/include/llvm/BinaryFormat/ELFRelocs/ARM.def
  llvm/trunk/include/llvm/BinaryFormat/ELFRelocs/AVR.def
  llvm/trunk/include/llvm/BinaryFormat/ELFRelocs/BPF.def
  llvm/trunk/include/llvm/BinaryFormat/ELFRelocs/Hexagon.def
  llvm/trunk/include/llvm/BinaryFormat/ELFRelocs/Lanai.def
  llvm/trunk/include/llvm/BinaryFormat/ELFRelocs/Mips.def
  llvm/trunk/include/llvm/BinaryFormat/ELFRelocs/PowerPC.def
  llvm/trunk/include/llvm/BinaryFormat/ELFRelocs/PowerPC64.def
  llvm/trunk/include/llvm/BinaryFormat/ELFRelocs/RISCV.def
  llvm/trunk/include/llvm/BinaryFormat/ELFRelocs/Sparc.def
  llvm/trunk/include/llvm/BinaryFormat/ELFRelocs/SystemZ.def
  llvm/trunk/include/llvm/BinaryFormat/ELFRelocs/WebAssembly.def
  llvm/trunk/include/llvm/BinaryFormat/ELFRelocs/i386.def
  llvm/trunk/include/llvm/BinaryFormat/ELFRelocs/x86_64.def
  llvm/trunk/include/llvm/BinaryFormat/MachO.def
  llvm/trunk/include/llvm/BinaryFormat/MachO.h
  llvm/trunk/include/llvm/BinaryFormat/Magic.h
  llvm/trunk/include/llvm/BinaryFormat/Wasm.h
  llvm/trunk/include/llvm/BinaryFormat/WasmRelocs/WebAssembly.def
  llvm/trunk/include/llvm/CodeGen/DIE.h
  llvm/trunk/include/llvm/CodeGen/MachineModuleInfoImpls.h
  llvm/trunk/include/llvm/DebugInfo/CodeView/EnumTables.h
  llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h
  llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
  llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFAttribute.h
  llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h
  llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFDebugPubTable.h
  llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFDie.h
  llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFFormValue.h
  llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFUnit.h
  llvm/trunk/include/llvm/IR/DebugInfoMetadata.h
  llvm/trunk/include/llvm/LinkAllIR.h
  llvm/trunk/include/llvm/MC/MCContext.h
  llvm/trunk/include/llvm/MC/MCELFObjectWriter.h
  llvm/trunk/include/llvm/MC/MCMachObjectWriter.h
  llvm/trunk/include/llvm/MC/MCSectionMachO.h
  llvm/trunk/include/llvm/MC/MCSymbolWasm.h
  llvm/trunk/include/llvm/MC/MCWasmObjectWriter.h
  llvm/trunk/include/llvm/Object/COFF.h
  llvm/trunk/include/llvm/Object/ELF.h
  llvm/trunk/include/llvm/Object/ELFObjectFile.h
  llvm/trunk/include/llvm/Object/ELFTypes.h
  llvm/trunk/include/llvm/Object/MachO.h
  llvm/trunk/include/llvm/Object/MachOUniversal.h
  llvm/trunk/include/llvm/Object/ObjectFile.h
  llvm/trunk/include/llvm/Object/RelocVisitor.h
  llvm/trunk/include/llvm/Object/SymbolicFile.h
  llvm/trunk/include/llvm/Object/Wasm.h
  llvm/trunk/include/llvm/Object/WindowsResource.h
  llvm/trunk/include/llvm/ObjectYAML/COFFYAML.h
  llvm/trunk/include/llvm/ObjectYAML/DWARFYAML.h
  llvm/trunk/include/llvm/ObjectYAML/ELFYAML.h
  llvm/trunk/include/llvm/ObjectYAML/MachOYAML.h
  llvm/trunk/include/llvm/ObjectYAML/WasmYAML.h
  llvm/trunk/include/llvm/Support/COFF.h
  llvm/trunk/include/llvm/Support/Dwarf.def
  llvm/trunk/include/llvm/Support/Dwarf.h
  llvm/trunk/include/llvm/Support/ELF.h
  llvm/trunk/include/llvm/Support/FileSystem.h
  llvm/trunk/include/llvm/Support/MachO.def
  llvm/trunk/include/llvm/Support/MachO.h
  llvm/trunk/include/llvm/Support/Wasm.h
  llvm/trunk/lib/AsmParser/LLParser.cpp
  llvm/trunk/lib/BinaryFormat/CMakeLists.txt
  llvm/trunk/lib/BinaryFormat/Dwarf.cpp
  llvm/trunk/lib/BinaryFormat/LLVMBuild.txt
  llvm/trunk/lib/BinaryFormat/Magic.cpp
  llvm/trunk/lib/CMakeLists.txt
  llvm/trunk/lib/CodeGen/AsmPrinter/ARMException.cpp
  llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
  llvm/trunk/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  llvm/trunk/lib/CodeGen/AsmPrinter/DIEHash.cpp
  llvm/trunk/lib/CodeGen/AsmPrinter/DwarfAccelTable.h
  llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
  llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
  llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  llvm/trunk/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
  llvm/trunk/lib/CodeGen/AsmPrinter/ErlangGCPrinter.cpp
  llvm/trunk/lib/CodeGen/AsmPrinter/WinException.cpp
  llvm/trunk/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  llvm/trunk/lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp
  llvm/trunk/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
  llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
  llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
  llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
  llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugMacro.cpp
  llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp
  llvm/trunk/lib/DebugInfo/DWARF/DWARFDie.cpp
  llvm/trunk/lib/DebugInfo/DWARF/DWARFFormValue.cpp
  llvm/trunk/lib/DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.cpp
  llvm/trunk/lib/DebugInfo/PDB/Native/DbiStreamBuilder.cpp
  llvm/trunk/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp
  llvm/trunk/lib/DebugInfo/Symbolize/Symbolize.cpp
  llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
  llvm/trunk/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFI386.h
  llvm/trunk/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h
  llvm/trunk/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFX86_64.h
  llvm/trunk/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.cpp
  llvm/trunk/lib/IR/AsmWriter.cpp
  llvm/trunk/lib/IR/DIBuilder.cpp
  llvm/trunk/lib/IR/LLVMBuild.txt
  llvm/trunk/lib/IR/LLVMContextImpl.h
  llvm/trunk/lib/IR/Verifier.cpp
  llvm/trunk/lib/LLVMBuild.txt
  llvm/trunk/lib/MC/ELFObjectWriter.cpp
  llvm/trunk/lib/MC/MCAsmInfo.cpp
  llvm/trunk/lib/MC/MCAsmInfoDarwin.cpp
  llvm/trunk/lib/MC/MCAsmInfoELF.cpp
  llvm/trunk/lib/MC/MCCodeView.cpp
  llvm/trunk/lib/MC/MCContext.cpp
  llvm/trunk/lib/MC/MCDwarf.cpp
  llvm/trunk/lib/MC/MCELFStreamer.cpp
  llvm/trunk/lib/MC/MCObjectFileInfo.cpp
  llvm/trunk/lib/MC/MCParser/AsmParser.cpp
  llvm/trunk/lib/MC/MCParser/COFFAsmParser.cpp
  llvm/trunk/lib/MC/MCParser/DarwinAsmParser.cpp
  llvm/trunk/lib/MC/MCParser/ELFAsmParser.cpp
  llvm/trunk/lib/MC/MCSectionCOFF.cpp
  llvm/trunk/lib/MC/MCSectionELF.cpp
  llvm/trunk/lib/MC/MCStreamer.cpp
  llvm/trunk/lib/MC/MCSymbolELF.cpp
  llvm/trunk/lib/MC/MCWinEH.cpp
  llvm/trunk/lib/MC/MachObjectWriter.cpp
  llvm/trunk/lib/MC/StringTableBuilder.cpp
  llvm/trunk/lib/MC/WasmObjectWriter.cpp
  llvm/trunk/lib/MC/WinCOFFObjectWriter.cpp
  llvm/trunk/lib/MC/WinCOFFStreamer.cpp
  llvm/trunk/lib/Object/ArchiveWriter.cpp
  llvm/trunk/lib/Object/Binary.cpp
  llvm/trunk/lib/Object/COFFObjectFile.cpp
  llvm/trunk/lib/Object/Decompressor.cpp
  llvm/trunk/lib/Object/ELF.cpp
  llvm/trunk/lib/Object/ELFObjectFile.cpp
  llvm/trunk/lib/Object/IRObjectFile.cpp
  llvm/trunk/lib/Object/LLVMBuild.txt
  llvm/trunk/lib/Object/MachOObjectFile.cpp
  llvm/trunk/lib/Object/ObjectFile.cpp
  llvm/trunk/lib/Object/SymbolicFile.cpp
  llvm/trunk/lib/Object/WasmObjectFile.cpp
  llvm/trunk/lib/Object/WindowsResource.cpp
  llvm/trunk/lib/ObjectYAML/DWARFVisitor.h
  llvm/trunk/lib/ObjectYAML/ELFYAML.cpp
  llvm/trunk/lib/ObjectYAML/MachOYAML.cpp
  llvm/trunk/lib/ObjectYAML/WasmYAML.cpp
  llvm/trunk/lib/Support/CMakeLists.txt
  llvm/trunk/lib/Support/Dwarf.cpp
  llvm/trunk/lib/Support/Path.cpp
  llvm/trunk/lib/Target/AArch64/AArch64TargetObjectFile.cpp
  llvm/trunk/lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
  llvm/trunk/lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp
  llvm/trunk/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
  llvm/trunk/lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
  llvm/trunk/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
  llvm/trunk/lib/Target/AMDGPU/AMDGPUTargetObjectFile.cpp
  llvm/trunk/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
  llvm/trunk/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
  llvm/trunk/lib/Target/AMDGPU/MCTargetDesc/AMDGPUELFObjectWriter.cpp
  llvm/trunk/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
  llvm/trunk/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
  llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp
  llvm/trunk/lib/Target/ARM/ARMTargetObjectFile.cpp
  llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
  llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
  llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMAsmBackendDarwin.h
  llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
  llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
  llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
  llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMWinCOFFObjectWriter.cpp
  llvm/trunk/lib/Target/AVR/AVRSubtarget.cpp
  llvm/trunk/lib/Target/AVR/AVRTargetObjectFile.cpp
  llvm/trunk/lib/Target/AVR/MCTargetDesc/AVRELFStreamer.cpp
  llvm/trunk/lib/Target/BPF/MCTargetDesc/BPFELFObjectWriter.cpp
  llvm/trunk/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
  llvm/trunk/lib/Target/Hexagon/HexagonAsmPrinter.cpp
  llvm/trunk/lib/Target/Hexagon/HexagonTargetObjectFile.cpp
  llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp
  llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
  llvm/trunk/lib/Target/Lanai/LanaiTargetObjectFile.cpp
  llvm/trunk/lib/Target/Lanai/MCTargetDesc/LanaiELFObjectWriter.cpp
  llvm/trunk/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
  llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
  llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsELFStreamer.cpp
  llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsMCExpr.cpp
  llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsOptionRecord.cpp
  llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
  llvm/trunk/lib/Target/Mips/MipsAsmPrinter.cpp
  llvm/trunk/lib/Target/Mips/MipsTargetObjectFile.cpp
  llvm/trunk/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
  llvm/trunk/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
  llvm/trunk/lib/Target/PowerPC/MCTargetDesc/PPCMachObjectWriter.cpp
  llvm/trunk/lib/Target/PowerPC/PPCAsmPrinter.cpp
  llvm/trunk/lib/Target/Sparc/MCTargetDesc/SparcMCAsmInfo.cpp
  llvm/trunk/lib/Target/Sparc/SparcTargetObjectFile.cpp
  llvm/trunk/lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp
  (39 more files...)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33843.101665.patch
Type: text/x-patch
Size: 720964 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170607/3080c96c/attachment-0001.bin>


More information about the llvm-commits mailing list