aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2022-06-04 16:56:45 -0400
committerJoseph Huber <jhuber6@vols.utk.edu>2022-06-07 15:56:08 -0400
commit9db2f3233669a6f9796b965714292eca8d5b9cd1 (patch)
treef85db1a690c6faf1f8488f11185884cfaa14c41d /llvm/lib/Bitcode
parentd46e7aecb4b1006062a327c14024f7b22bc08a63 (diff)
downloadllvm-9db2f3233669a6f9796b965714292eca8d5b9cd1.zip
llvm-9db2f3233669a6f9796b965714292eca8d5b9cd1.tar.gz
llvm-9db2f3233669a6f9796b965714292eca8d5b9cd1.tar.bz2
[Binary] Align the image offset in OffloadBinary
Summary: The OffloadBinary wraps around an embedded device image, commonly an ELF or LLVM BC file. These file formats have alignment requirements for parsing, so if the image is stored at an un-aligned offset from the beginning of the file we will be unable to parse the embeded image without copying the image buffer. This patch adds alignment padding before the binary image is appended to ensure we can parse the symbolic file it contains in-place without copying memory.
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions