[llvm] [C API] Add bindings for DWARF type encoding.wq (PR #102171)

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 6 18:32:52 PDT 2024


dwblaikie wrote:

> What is the corresponding C++ API for this?

They're defined here: https://github.com/llvm/llvm-project/blob/53d33d3ba5eedac8fccb9d36576cd667800a4a38/llvm/include/llvm/BinaryFormat/Dwarf.def#L1035  (would be nice if we could reuse these - presumably we've exposed tag numbers (DW_TAG) and attribute numbers (DW_AT) a similar way? Or if we haven't exposed those, then we probably don't want/need to expose this one being proposed in this patch either?)

> Are these fixed values specified by the DWARF standard?

Yeah, they're from the DWARF spec.

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


More information about the llvm-commits mailing list