-
Bug
-
Resolution: Withdrawn
-
P3
-
None
-
22, 23, 24
-
None
The Linker will not handle certain layouts that it should:
Reproduce:
@Test
public void alignedByInitialPadding() {
Linker linker = Linker.nativeLinker();
var struct = MemoryLayout.structLayout(
MemoryLayout.paddingLayout(Integer.BYTES),
JAVA_INT);
var fd = FunctionDescriptor.of(struct, struct, struct);
linker.downcallHandle(fd);
}
Reproduce:
@Test
public void alignedByInitialPadding() {
Linker linker = Linker.nativeLinker();
var struct = MemoryLayout.structLayout(
MemoryLayout.paddingLayout(Integer.BYTES),
JAVA_INT);
var fd = FunctionDescriptor.of(struct, struct, struct);
linker.downcallHandle(fd);
}