You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The addrspace attribute doesn't change the address space of allocas. For example, compiling the following module using the morello toolchain triggers an assertion failure (AI->getType()->getPointerAddressSpace() == 200):
This is the command I've used to compile it: $CHERI/bin/llvm-as bug.ll -o bug.bc && $CHERI/bin/clang --config cheribsd-morello-purecap.cfg -shared -fPIC bug.bc -o bug.so.
The
addrspace
attribute doesn't change the address space ofalloca
s. For example, compiling the following module using the morello toolchain triggers an assertion failure (AI->getType()->getPointerAddressSpace() == 200
):This is the command I've used to compile it:
$CHERI/bin/llvm-as bug.ll -o bug.bc && $CHERI/bin/clang --config cheribsd-morello-purecap.cfg -shared -fPIC bug.bc -o bug.so
.This may or may not be a duplicate of #621.
(I managed to work around the issue by setting the datalayout string).
Full error
The text was updated successfully, but these errors were encountered: