llvm2alive: disable parsing non-0 address spaces since those aren't supported at all
MODIFY
llvm_util/utils.cpp
llvm_util/utils.cpp
@@ -89,6 +89,10 @@ Type* llvm_type2alive(const llvm::Type *ty) {
case llvm::Type::PointerTyID: {
// TODO: support for non-64 bits pointers
unsigned as = cast<llvm::PointerType>(ty)->getAddressSpace();
+ // TODO: add support for non-0 AS
+ if (as != 0)
+ return nullptr;
+
if (as >= ptr_types.size())
ptr_types.resize(as + 1);
if (!ptr_types[as])

llvm2alive: disable parsing non-0 address spaces since those aren't supported at all