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

J. Ryan Stinnett via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 12 04:44:15 PDT 2024


jryans wrote:

> The C header is just translated in the target language, which is easy to do if the header are just a list of declarations, but as soon as there is preprocessor magic involved, it's not possible.

Hmm, if that's the case, then couldn't you invoke the C preprocessor first to handle macro expansions and such, and then run the language binding tool on that output?

Perhaps that's hard to do for some reason though...?

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


More information about the llvm-commits mailing list