[all-commits] [llvm/llvm-project] bc33c2: [Binary] Hard-code the alignment of the offloading...

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu Jul 21 06:29:19 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc33c2fa0c2a68a0431df0d825cc6df99a1883db
      https://github.com/llvm/llvm-project/commit/bc33c2fa0c2a68a0431df0d825cc6df99a1883db
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-07-21 (Thu, 21 Jul 2022)

  Changed paths:
    M llvm/include/llvm/Object/OffloadBinary.h

  Log Message:
  -----------
  [Binary] Hard-code the alignment of the offloading binary

Summary:
We previously used `alignof` to get the necessary alignment of the
binary header. However this was different on 32-bit platforms and caused
a few tests to fail because of it. This patch just changes this to be a
hard-coded constant of 8.




More information about the All-commits mailing list