![]() Summary: The `.llvm.offloading` section should always be aligned by `8`. However, we may want to show the offloading data stored in a static library. In this case, even though the section's alignment is correct, the offset inside the archive will result in the memory buffer being misaligned. TO combat this we simply check if the buffer does not have the proper alignment and copies it to a new buffer if not. This copy should have the proper alignment. |
||
---|---|---|
.. | ||
Inputs | ||
alignment.test | ||
binary.test | ||
content-failure.test | ||
failure.test | ||
non-elf.test | ||
warning.test |