Infelicities surrounding SAW's support for PtrTo in LLVM #1132
Labels
subsystem: crucible-llvm
Issues related to LLVM bitcode verification with crucible-llvm
subsystem: saw-remote-api
Issues related to the SAW server and its RPC bindings
If you want to construct and
LLVMType
representing a pointer (i.e.,llvm-pretty
'sPtrTo
), then you're going to hit one of the following difficulties:ptr
function, but in practice, it's broken. The SAW remote API dictates that the field accompanying thepointer
tag be namedto type
, but the Python bindings use a field namedpoints to
.ptr
at all. The closest thing it has is thellvm_type
function (e.g.,llvm_type "i64*"
), but we should have a separatellvm_pointer : LLVMType -> LLVMType
function for constructingPtrTo
s directly.It should be relatively straightforward to solve both of these, so I'll optimistically assign myself.
The text was updated successfully, but these errors were encountered: