[all-commits] [llvm/llvm-project] f2f041: [BOLT] Adjust Shdr alignment

Nathan Sidwell via All-commits all-commits at lists.llvm.org
Wed Apr 19 12:52:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f2f0411924184ca59911b3abebb564e22b569f40
      https://github.com/llvm/llvm-project/commit/f2f0411924184ca59911b3abebb564e22b569f40
  Author: Nathan Sidwell <nathan at acm.org>
  Date:   2023-04-19 (Wed, 19 Apr 2023)

  Changed paths:
    M bolt/lib/Rewrite/RewriteInstance.cpp

  Log Message:
  -----------
  [BOLT] Adjust Shdr alignment

Shdr's are not necesarily size 2^n, and there is no reason to align to
that boundary if they are.

Differential Revision: https://reviews.llvm.org/D148666


  Commit: 9c92b023da39903413128dbbf30c1029f3b172c1
      https://github.com/llvm/llvm-project/commit/9c92b023da39903413128dbbf30c1029f3b172c1
  Author: Nathan Sidwell <nathan at acm.org>
  Date:   2023-04-19 (Wed, 19 Apr 2023)

  Changed paths:
    M bolt/include/bolt/Rewrite/RewriteInstance.h
    M bolt/lib/Rewrite/RewriteInstance.cpp

  Log Message:
  -----------
  [BOLT][NFC] Move phdr typedef to cpp file

This typedef is only used inside the RewriteInstance source file, let's not
expose it in the header file -- even if private.

Differential Revision: https://reviews.llvm.org/D148667


Compare: https://github.com/llvm/llvm-project/compare/31deca465f46...9c92b023da39


More information about the All-commits mailing list