-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
the code mostly works with llvm 15, except one occurence of getPointerElementType
} else if (T->isPointerTy()) {
Type *PointeeTy = T->getPointerElementType();
if (!(N = getType(PointeeTy)))
N = Builder.createPointerType(
getOrCreateType(PointeeTy), Layout.getPointerTypeSizeInBits(T),
Layout.getPrefTypeAlignment(T), /*DWARFAddressSpace=*/None,
getTypeName(T));llvm 15 makes opaque pointers the default, and those don't have getPointerElementType any more. With this piece of code commented the build succeeds, but I'm not sure what consequences that has for the tool actually functioning.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels