TheDan64 / inkwell

It's a New Kind of Wrapper for Exposing LLVM (Safely)
https://thedan64.github.io/inkwell/
Apache License 2.0
2.38k stars 229 forks source link

Add more constants for dwarf flags #471

Open gavrilikhin-d opened 9 months ago

gavrilikhin-d commented 9 months ago

Is your feature request related to a problem? Please describe. There is no enum for LLVMDWARFTypeEncoding (alias for unsigned int) which corresponds to DW_ATE_*

Describe the solution you'd like Add something like DIFlagsConstants for more dwarf flag enums

Describe possible drawbacks to your solution There are several dwarf standarts, which may be bothersome to maintain. However, most users need only DWARF 4 and DWARF 5. The later came live in 2017, so there shouldn't be many updates too.

edg-l commented 9 months ago

https://dwarfstd.org/doc/DWARF5.pdf#section.7.8

edg-l commented 8 months ago

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