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

via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 11 15:31:50 PDT 2024


deadalnix wrote:

Yes, but this isn't really the reason why people want a C API, and this isn't how the vast majority of the C API users use it. The `.def` solution here is (or any technique that rely on the preprocessor in general) is a net negative.

I'm not sure I understand the concern with maintenance here. The value come from the DWARF spec. If these value change, everything is broken and a couple of entry in an enum in a C API will be the least of our concerns.

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


More information about the llvm-commits mailing list