[Lldb-commits] [PATCH] D127234: [lldb] Add setting to override PE/COFF ABI by module name

Alvin Wong via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 7 10:37:45 PDT 2022


alvinhochun created this revision.
Herald added a subscriber: mstorsjo.
Herald added a project: All.
alvinhochun requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

The setting `plugin.object-file.pe-coff.module-abi` is a string-to-enum
map that allows specifying an ABI to a module name. For example:

  ucrtbase.dll=msvc
  libstdc++-6.dll=gnu

This allows for debugging a process which mixes both modules built using
the MSVC ABI and modules built using the MinGW ABI.

Depends on D127048 <https://reviews.llvm.org/D127048>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D127234

Files:
  lldb/include/lldb/Interpreter/OptionValueDictionary.h
  lldb/source/Interpreter/OptionValueDictionary.cpp
  lldb/source/Interpreter/Property.cpp
  lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
  lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFFProperties.td
  lldb/test/Shell/ObjectFile/PECOFF/settings-abi.yaml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127234.434885.patch
Type: text/x-patch
Size: 9556 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220607/415c21c8/attachment.bin>


More information about the lldb-commits mailing list