This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository llvm.
from d05a5f282dc [LazyValueInfo] Remove redundant calls to ConstantRange::co [...] new 19ca2b0f9da Move Object format code to lib/BinaryFormat.
The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: examples/ExceptionDemo/ExceptionDemo.cpp | 4 +- include/llvm/BinaryFormat/COFF.h | 713 +++++++ include/llvm/{Support => BinaryFormat}/Dwarf.def | 0 include/llvm/{Support => BinaryFormat}/Dwarf.h | 58 +- include/llvm/{Support => BinaryFormat}/ELF.h | 6 +- .../ELFRelocs/AArch64.def | 0 .../{Support => BinaryFormat}/ELFRelocs/AMDGPU.def | 0 .../{Support => BinaryFormat}/ELFRelocs/ARM.def | 0 .../{Support => BinaryFormat}/ELFRelocs/AVR.def | 0 .../{Support => BinaryFormat}/ELFRelocs/BPF.def | 0 .../ELFRelocs/Hexagon.def | 0 .../{Support => BinaryFormat}/ELFRelocs/Lanai.def | 0 .../{Support => BinaryFormat}/ELFRelocs/Mips.def | 0 .../ELFRelocs/PowerPC.def | 0 .../ELFRelocs/PowerPC64.def | 0 .../{Support => BinaryFormat}/ELFRelocs/RISCV.def | 0 .../{Support => BinaryFormat}/ELFRelocs/Sparc.def | 0 .../ELFRelocs/SystemZ.def | 0 .../ELFRelocs/WebAssembly.def | 0 .../{Support => BinaryFormat}/ELFRelocs/i386.def | 0 .../{Support => BinaryFormat}/ELFRelocs/x86_64.def | 0 include/llvm/{Support => BinaryFormat}/MachO.def | 0 include/llvm/BinaryFormat/MachO.h | 1984 +++++++++++++++++++ include/llvm/BinaryFormat/Magic.h | 71 + include/llvm/{Support => BinaryFormat}/Wasm.h | 46 +- .../WasmRelocs/WebAssembly.def | 0 include/llvm/CodeGen/DIE.h | 2 +- include/llvm/CodeGen/MachineModuleInfoImpls.h | 2 +- include/llvm/DebugInfo/CodeView/EnumTables.h | 2 +- .../DebugInfo/DWARF/DWARFAbbreviationDeclaration.h | 2 +- .../llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h | 2 +- include/llvm/DebugInfo/DWARF/DWARFAttribute.h | 2 +- include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h | 2 +- include/llvm/DebugInfo/DWARF/DWARFDebugPubTable.h | 2 +- include/llvm/DebugInfo/DWARF/DWARFDie.h | 2 +- include/llvm/DebugInfo/DWARF/DWARFFormValue.h | 2 +- include/llvm/DebugInfo/DWARF/DWARFUnit.h | 2 +- include/llvm/IR/DebugInfoMetadata.h | 7 +- include/llvm/LinkAllIR.h | 2 +- include/llvm/MC/MCContext.h | 2 +- include/llvm/MC/MCELFObjectWriter.h | 2 +- include/llvm/MC/MCMachObjectWriter.h | 2 +- include/llvm/MC/MCSectionMachO.h | 2 +- include/llvm/MC/MCSymbolWasm.h | 2 +- include/llvm/MC/MCWasmObjectWriter.h | 2 +- include/llvm/Object/COFF.h | 2 +- include/llvm/Object/ELF.h | 2 +- include/llvm/Object/ELFObjectFile.h | 2 +- include/llvm/Object/ELFTypes.h | 2 +- include/llvm/Object/MachO.h | 2 +- include/llvm/Object/MachOUniversal.h | 2 +- include/llvm/Object/ObjectFile.h | 5 +- include/llvm/Object/RelocVisitor.h | 4 +- include/llvm/Object/SymbolicFile.h | 5 +- include/llvm/Object/Wasm.h | 2 +- include/llvm/Object/WindowsResource.h | 2 +- include/llvm/ObjectYAML/COFFYAML.h | 2 +- include/llvm/ObjectYAML/DWARFYAML.h | 14 +- include/llvm/ObjectYAML/ELFYAML.h | 2 +- include/llvm/ObjectYAML/MachOYAML.h | 6 +- include/llvm/ObjectYAML/WasmYAML.h | 2 +- include/llvm/Support/COFF.h | 724 ------- include/llvm/Support/FileSystem.h | 55 - include/llvm/Support/MachO.h | 2038 -------------------- lib/AsmParser/LLParser.cpp | 2 +- lib/BinaryFormat/CMakeLists.txt | 8 + lib/{Support => BinaryFormat}/Dwarf.cpp | 200 +- lib/{IR => BinaryFormat}/LLVMBuild.txt | 4 +- lib/BinaryFormat/Magic.cpp | 216 +++ lib/CMakeLists.txt | 1 + lib/CodeGen/AsmPrinter/ARMException.cpp | 2 +- lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 4 +- lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp | 2 +- lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | 6 +- lib/CodeGen/AsmPrinter/DIEHash.cpp | 2 +- lib/CodeGen/AsmPrinter/DwarfAccelTable.h | 2 +- lib/CodeGen/AsmPrinter/DwarfCFIException.cpp | 2 +- lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | 2 +- lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 2 +- lib/CodeGen/AsmPrinter/DwarfExpression.cpp | 2 +- lib/CodeGen/AsmPrinter/ErlangGCPrinter.cpp | 2 +- lib/CodeGen/AsmPrinter/WinException.cpp | 4 +- lib/CodeGen/TargetLoweringObjectFileImpl.cpp | 8 +- .../DWARF/DWARFAbbreviationDeclaration.cpp | 3 +- lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp | 3 +- lib/DebugInfo/DWARF/DWARFDebugFrame.cpp | 3 +- lib/DebugInfo/DWARF/DWARFDebugLine.cpp | 2 +- lib/DebugInfo/DWARF/DWARFDebugLoc.cpp | 2 +- lib/DebugInfo/DWARF/DWARFDebugMacro.cpp | 2 +- lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp | 2 +- lib/DebugInfo/DWARF/DWARFDie.cpp | 2 +- lib/DebugInfo/DWARF/DWARFFormValue.cpp | 2 +- .../PDB/Native/DbiModuleDescriptorBuilder.cpp | 2 +- lib/DebugInfo/PDB/Native/DbiStreamBuilder.cpp | 2 +- lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp | 2 +- lib/DebugInfo/Symbolize/Symbolize.cpp | 2 +- lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp | 2 +- .../RuntimeDyld/Targets/RuntimeDyldCOFFI386.h | 2 +- .../RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h | 2 +- .../RuntimeDyld/Targets/RuntimeDyldCOFFX86_64.h | 2 +- .../RuntimeDyld/Targets/RuntimeDyldELFMips.cpp | 2 +- lib/IR/AsmWriter.cpp | 2 +- lib/IR/DIBuilder.cpp | 2 +- lib/IR/LLVMBuild.txt | 2 +- lib/IR/LLVMContextImpl.h | 2 +- lib/IR/Verifier.cpp | 2 +- lib/LLVMBuild.txt | 1 + lib/MC/ELFObjectWriter.cpp | 2 +- lib/MC/MCAsmInfo.cpp | 2 +- lib/MC/MCAsmInfoDarwin.cpp | 2 +- lib/MC/MCAsmInfoELF.cpp | 2 +- lib/MC/MCCodeView.cpp | 2 +- lib/MC/MCContext.cpp | 4 +- lib/MC/MCDwarf.cpp | 2 +- lib/MC/MCELFStreamer.cpp | 2 +- lib/MC/MCObjectFileInfo.cpp | 4 +- lib/MC/MCParser/AsmParser.cpp | 2 +- lib/MC/MCParser/COFFAsmParser.cpp | 2 +- lib/MC/MCParser/DarwinAsmParser.cpp | 2 +- lib/MC/MCParser/ELFAsmParser.cpp | 2 +- lib/MC/MCSectionCOFF.cpp | 2 +- lib/MC/MCSectionELF.cpp | 2 +- lib/MC/MCStreamer.cpp | 2 +- lib/MC/MCSymbolELF.cpp | 2 +- lib/MC/MCWinEH.cpp | 2 +- lib/MC/MachObjectWriter.cpp | 2 +- lib/MC/StringTableBuilder.cpp | 2 +- lib/MC/WasmObjectWriter.cpp | 1 + lib/MC/WinCOFFObjectWriter.cpp | 2 +- lib/MC/WinCOFFStreamer.cpp | 2 +- lib/Object/ArchiveWriter.cpp | 3 +- lib/Object/Binary.cpp | 67 +- lib/Object/COFFObjectFile.cpp | 2 +- lib/Object/Decompressor.cpp | 2 +- lib/Object/ELF.cpp | 34 +- lib/Object/ELFObjectFile.cpp | 2 +- lib/Object/IRObjectFile.cpp | 11 +- lib/Object/LLVMBuild.txt | 2 +- lib/Object/MachOObjectFile.cpp | 2 +- lib/Object/ObjectFile.cpp | 59 +- lib/Object/SymbolicFile.cpp | 62 +- lib/Object/WasmObjectFile.cpp | 4 +- lib/Object/WindowsResource.cpp | 2 +- lib/ObjectYAML/DWARFVisitor.h | 2 +- lib/ObjectYAML/ELFYAML.cpp | 20 +- lib/ObjectYAML/MachOYAML.cpp | 4 +- lib/ObjectYAML/WasmYAML.cpp | 2 +- lib/Support/CMakeLists.txt | 1 - lib/Support/Path.cpp | 176 +- lib/Target/AArch64/AArch64TargetObjectFile.cpp | 2 +- .../AArch64/MCTargetDesc/AArch64AsmBackend.cpp | 2 +- .../MCTargetDesc/AArch64ELFObjectWriter.cpp | 2 +- .../AArch64/MCTargetDesc/AArch64ELFStreamer.cpp | 2 +- .../MCTargetDesc/AArch64MachObjectWriter.cpp | 2 +- lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp | 2 +- lib/Target/AMDGPU/AMDGPUTargetObjectFile.cpp | 2 +- lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp | 2 +- .../AMDGPU/Disassembler/AMDGPUDisassembler.cpp | 2 +- .../AMDGPU/MCTargetDesc/AMDGPUELFObjectWriter.cpp | 2 +- .../AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp | 2 +- lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp | 2 +- lib/Target/ARM/ARMAsmPrinter.cpp | 4 +- lib/Target/ARM/ARMTargetObjectFile.cpp | 4 +- lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 4 +- lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp | 4 +- lib/Target/ARM/MCTargetDesc/ARMAsmBackendDarwin.h | 2 +- lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp | 2 +- lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp | 2 +- .../ARM/MCTargetDesc/ARMMachObjectWriter.cpp | 2 +- .../ARM/MCTargetDesc/ARMWinCOFFObjectWriter.cpp | 2 +- lib/Target/AVR/AVRSubtarget.cpp | 2 +- lib/Target/AVR/AVRTargetObjectFile.cpp | 2 +- lib/Target/AVR/MCTargetDesc/AVRELFStreamer.cpp | 2 +- lib/Target/BPF/MCTargetDesc/BPFELFObjectWriter.cpp | 2 +- lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp | 2 +- lib/Target/Hexagon/HexagonAsmPrinter.cpp | 2 +- lib/Target/Hexagon/HexagonTargetObjectFile.cpp | 2 +- .../Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp | 2 +- .../Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp | 2 +- lib/Target/Lanai/LanaiTargetObjectFile.cpp | 2 +- .../Lanai/MCTargetDesc/LanaiELFObjectWriter.cpp | 2 +- lib/Target/Mips/AsmParser/MipsAsmParser.cpp | 2 +- .../Mips/MCTargetDesc/MipsELFObjectWriter.cpp | 2 +- lib/Target/Mips/MCTargetDesc/MipsELFStreamer.cpp | 2 +- lib/Target/Mips/MCTargetDesc/MipsMCExpr.cpp | 2 +- lib/Target/Mips/MCTargetDesc/MipsOptionRecord.cpp | 2 +- .../Mips/MCTargetDesc/MipsTargetStreamer.cpp | 2 +- lib/Target/Mips/MipsAsmPrinter.cpp | 2 +- lib/Target/Mips/MipsTargetObjectFile.cpp | 2 +- lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp | 4 +- .../PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp | 2 +- .../PowerPC/MCTargetDesc/PPCMachObjectWriter.cpp | 6 +- lib/Target/PowerPC/PPCAsmPrinter.cpp | 4 +- lib/Target/Sparc/MCTargetDesc/SparcMCAsmInfo.cpp | 2 +- lib/Target/Sparc/SparcTargetObjectFile.cpp | 2 +- .../SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp | 2 +- lib/Target/TargetLoweringObjectFile.cpp | 2 +- .../InstPrinter/WebAssemblyInstPrinter.h | 2 +- .../MCTargetDesc/WebAssemblyMCTargetDesc.h | 2 +- .../MCTargetDesc/WebAssemblyTargetStreamer.h | 2 +- .../MCTargetDesc/WebAssemblyWasmObjectWriter.cpp | 2 +- lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp | 4 +- lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp | 2 +- lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp | 2 +- .../X86/MCTargetDesc/X86MachObjectWriter.cpp | 2 +- .../X86/MCTargetDesc/X86WinCOFFObjectWriter.cpp | 2 +- lib/Target/X86/X86AsmPrinter.cpp | 2 +- lib/Target/X86/X86MCInstLower.cpp | 2 +- lib/Target/X86/X86TargetObjectFile.cpp | 4 +- lib/Target/XCore/XCoreTargetObjectFile.cpp | 2 +- lib/ToolDrivers/llvm-lib/LibDriver.cpp | 10 +- lib/Transforms/InstCombine/InstCombineInternal.h | 2 +- tools/dsymutil/DwarfLinker.cpp | 9 +- tools/llvm-nm/llvm-nm.cpp | 2 +- tools/llvm-objdump/MachODump.cpp | 7 +- tools/llvm-readobj/CMakeLists.txt | 1 + tools/llvm-readobj/COFFDumper.cpp | 2 +- tools/llvm-readobj/COFFImportDumper.cpp | 2 +- tools/llvm-readobj/LLVMBuild.txt | 2 +- tools/llvm-xray/xray-extract.cc | 2 +- tools/obj2yaml/macho2yaml.cpp | 2 +- tools/yaml2obj/yaml2elf.cpp | 2 +- tools/yaml2obj/yaml2macho.cpp | 6 +- unittests/BinaryFormat/CMakeLists.txt | 9 + unittests/{Support => BinaryFormat}/DwarfTest.cpp | 5 +- unittests/BinaryFormat/TestFileMagic.cpp | 128 ++ unittests/CMakeLists.txt | 1 + unittests/CodeGen/DIEHashTest.cpp | 2 +- unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp | 2 +- unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp | 2 +- unittests/DebugInfo/DWARF/DwarfGenerator.cpp | 2 +- unittests/MC/DwarfLineTables.cpp | 2 +- unittests/Support/CMakeLists.txt | 1 - unittests/Support/Path.cpp | 81 +- 234 files changed, 3681 insertions(+), 3570 deletions(-) create mode 100644 include/llvm/BinaryFormat/COFF.h rename include/llvm/{Support => BinaryFormat}/Dwarf.def (100%) rename include/llvm/{Support => BinaryFormat}/Dwarf.h (92%) rename include/llvm/{Support => BinaryFormat}/ELF.h (99%) rename include/llvm/{Support => BinaryFormat}/ELFRelocs/AArch64.def (100%) rename include/llvm/{Support => BinaryFormat}/ELFRelocs/AMDGPU.def (100%) rename include/llvm/{Support => BinaryFormat}/ELFRelocs/ARM.def (100%) rename include/llvm/{Support => BinaryFormat}/ELFRelocs/AVR.def (100%) rename include/llvm/{Support => BinaryFormat}/ELFRelocs/BPF.def (100%) rename include/llvm/{Support => BinaryFormat}/ELFRelocs/Hexagon.def (100%) rename include/llvm/{Support => BinaryFormat}/ELFRelocs/Lanai.def (100%) rename include/llvm/{Support => BinaryFormat}/ELFRelocs/Mips.def (100%) rename include/llvm/{Support => BinaryFormat}/ELFRelocs/PowerPC.def (100%) rename include/llvm/{Support => BinaryFormat}/ELFRelocs/PowerPC64.def (100%) rename include/llvm/{Support => BinaryFormat}/ELFRelocs/RISCV.def (100%) rename include/llvm/{Support => BinaryFormat}/ELFRelocs/Sparc.def (100%) rename include/llvm/{Support => BinaryFormat}/ELFRelocs/SystemZ.def (100%) rename include/llvm/{Support => BinaryFormat}/ELFRelocs/WebAssembly.def (100%) rename include/llvm/{Support => BinaryFormat}/ELFRelocs/i386.def (100%) rename include/llvm/{Support => BinaryFormat}/ELFRelocs/x86_64.def (100%) rename include/llvm/{Support => BinaryFormat}/MachO.def (100%) create mode 100644 include/llvm/BinaryFormat/MachO.h create mode 100644 include/llvm/BinaryFormat/Magic.h rename include/llvm/{Support => BinaryFormat}/Wasm.h (80%) rename include/llvm/{Support => BinaryFormat}/WasmRelocs/WebAssembly.def (100%) delete mode 100644 include/llvm/Support/COFF.h delete mode 100644 include/llvm/Support/MachO.h create mode 100644 lib/BinaryFormat/CMakeLists.txt rename lib/{Support => BinaryFormat}/Dwarf.cpp (77%) copy lib/{IR => BinaryFormat}/LLVMBuild.txt (88%) create mode 100644 lib/BinaryFormat/Magic.cpp create mode 100644 unittests/BinaryFormat/CMakeLists.txt rename unittests/{Support => BinaryFormat}/DwarfTest.cpp (97%) create mode 100644 unittests/BinaryFormat/TestFileMagic.cpp