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

Struct GEPPointee error when attempting to access struct field. #503

Closed Jakersnell closed 1 month ago

Jakersnell commented 3 months ago

I am receiving a GEPPointee error when attempting to access a structs field. I dont understand why this is happening or how to access struct fields. I made an example program to demonstrate my issue.

this is my stackoverflow post