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

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

Closed Jakersnell closed 3 months ago

Jakersnell commented 5 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