1include "../../../../include/lldb/Core/PropertiesBase.td"
2
3let Definition = "objectfilepecoff" in {
4  def ABI: Property<"abi", "Enum">,
5    Global,
6    DefaultEnumValue<"llvm::Triple::UnknownEnvironment">,
7    EnumValues<"OptionEnumValues(g_abi_enums)">,
8    Desc<"ABI to use when loading a PE/COFF module. This configures the C++ ABI used, which affects things like the handling of class layout. Accepted values are: `msvc` for the MSVC ABI, `gnu` for the MinGW / Itanium ABI, and `default` to follow the default target if it is a Windows triple or use the MSVC ABI by default.">;
9  def ModuleABIMap: Property<"module-abi", "Dictionary">,
10    Global,
11    ElementType<"Enum">,
12    EnumValues<"OptionEnumValues(g_abi_enums)">,
13    Desc<"A mapping of ABI override to use for specific modules. The module name is matched by its file name with extension. These versions are checked in sequence: exact, lowercase, exact with '.debug' suffix stripped, lowercase with '.debug' suffix stripped. Accepted values are: `msvc` for the MSVC ABI, `gnu` for the MinGW / Itanium ABI, and `default` to follow the default target if it is a Windows triple or use the MSVC ABI by default.">;
14}
15