[all-commits] [llvm/llvm-project] 501483: ObjectFile: introduce a COFF object file plugin

Saleem Abdulrasool via All-commits all-commits at lists.llvm.org
Sun May 7 12:42:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5014830ede78e55e2c638948ca00cea045eac9ce
      https://github.com/llvm/llvm-project/commit/5014830ede78e55e2c638948ca00cea045eac9ce
  Author: Saleem Abdulrasool <compnerd at compnerd.org>
  Date:   2023-05-07 (Sun, 07 May 2023)

  Changed paths:
    M lldb/source/Plugins/ObjectFile/CMakeLists.txt
    A lldb/source/Plugins/ObjectFile/COFF/CMakeLists.txt
    A lldb/source/Plugins/ObjectFile/COFF/ObjectFileCOFF.cpp
    A lldb/source/Plugins/ObjectFile/COFF/ObjectFileCOFF.h
    A lldb/test/Shell/ObjectFile/COFF/basic.yaml

  Log Message:
  -----------
  ObjectFile: introduce a COFF object file plugin

Windows uses COFF as an object file format and PE/COFF as an executable
file format. They are subtly different and certain elements of a COFF
file may not be present in an executable. Introduce a new plugin to add
support for the COFF object file format which is required to support
loading of modules built with -gmodules. This is motivated by Swift
which serialises debugging information into a PCM which is a COFF object
file.

Differential Revision: https://reviews.llvm.org/D149987
Reviewed By: bulbazord




More information about the All-commits mailing list