TheDan64 / inkwell

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

Add more constants for dwarf flags #471

Open gavrilikhin-d opened 7 months ago

gavrilikhin-d commented 7 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 7 months ago

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

edg-l commented 6 months ago

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