cdisselkoen / llvm-ir

LLVM IR in natural Rust data structures
MIT License
550 stars 46 forks source link

Type size computation in DataLayout #34

Open langston-barrett opened 1 year ago

langston-barrett commented 1 year ago

Will fix #31. @cdisselkoen Let me know if you like where this is headed and I'll implement the missing cases for structs, and add alignment + storage size (llvm::getABITypeAlign and llvm::getTypeStoreSize).

Qi-Zhan commented 9 months ago

I also like/need the type size feature, but I'm not familiar with llvm-sys API. It would be great if someone willing to finish it.