[all-commits] [llvm/llvm-project] 60a857: [XCOFF] make sure same number of paddings are adde...

Chen Zheng via All-commits all-commits at lists.llvm.org
Tue Jun 28 21:12:51 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 60a85726ed329ec90c05c52b88af3a2060e24100
      https://github.com/llvm/llvm-project/commit/60a85726ed329ec90c05c52b88af3a2060e24100
  Author: Chen Zheng <czhengsz at cn.ibm.com>
  Date:   2022-06-29 (Wed, 29 Jun 2022)

  Changed paths:
    M llvm/lib/MC/XCOFFObjectWriter.cpp

  Log Message:
  -----------
  [XCOFF] make sure same number of paddings are added for DWARF sections

We are going to change alignment for DWARF sections. This patch is to
fix functionality issue if the alignment is not the same with
DefaultSectionAlign defined in XCOFFObjectWriter.cpp.

Currently no test for this patch as for now alignment for DWARF sections
and other sections are always the same. This patch will be tested when
patch changing DWARF section is merged in.

Reviewed By: Esme

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




More information about the All-commits mailing list