[llvm] [llvm-c] Add LLVMDWARFTypeEncoding enum and update the MacInfo and callconv enum (PR #84456)

Paul T Robinson via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 12 08:27:26 PDT 2024


================
@@ -186,7 +186,30 @@ typedef unsigned LLVMMetadataKind;
 
 /**
  * An LLVM DWARF type encoding.
+ * @note Values are from DW_ATE_* constants in the DWARF specification.
----------------
pogo59 wrote:

Look at TypeKind in llvm/include/llvm/BinaryFormat/Dwarf.h. It looks like you could pull the definitions in from Dwarf.def, so we don't have to maintain them in two places.

https://github.com/llvm/llvm-project/pull/84456


More information about the llvm-commits mailing list