We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the Bug
Say I have a global string in LLVM
@0 = constant [2 x i8] "\n\0", align 1
And then I do a load to this @0.
@0
i8* getelementptr inbounds ([2xi8], [2xi8]* @0, i32 0, i32 0)
Then in Inkwell it will first be a PointerValue. A PointerValue has no operand to access, so I cannot get the @0 for my analysis.
PointerValue
Maybe this is not a bug, but a feature request. Did we expose ConstExpr data structures in Inkwell?
ConstExpr
The text was updated successfully, but these errors were encountered:
I don't think the C api has access to ConstExpr
Sorry, something went wrong.
I think PointerValue is right since GEP always returns a ptr? i8* getelementptr
i8* getelementptr
So you probably wanna do a load
No branches or pull requests
Describe the Bug
Say I have a global string in LLVM
And then I do a load to this
@0
.Then in Inkwell it will first be a
PointerValue
.A
PointerValue
has no operand to access, so I cannot get the@0
for my analysis.Maybe this is not a bug, but a feature request. Did we expose
ConstExpr
data structures in Inkwell?The text was updated successfully, but these errors were encountered: