-
Notifications
You must be signed in to change notification settings - Fork 99
DataLayout class implementation #140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
In order to expose more closely mirroring the C++ API, there would need to be a
Likewise the various |
Ok, but I'd have to add the methods to in
and then a wrapper:
Maybe it would be easier if I just fill it all out and create a PR and you can comment there? |
I'm a little confused about how this is implemented in LLVMSharp. It's possible to set the DataLayout string, but the function
getDataLayout
that returns an object with methods as per https://stackoverflow.com/questions/32299166/accessing-struct-members-and-arrays-of-structs-from-llvm-ir is not there and so I thought I'd try to add it. But the methods already seem to be used for getting and setting the layout stringSo how would one go about adding support for the
DataLayout
class http://llvm.org/doxygen/classllvm_1_1DataLayout.html ?The text was updated successfully, but these errors were encountered: