[all-commits] [llvm/llvm-project] 50d72f: [NFC][AIX][XCOFF] if the size of Csect is zero, th...

diggerlin via All-commits all-commits at lists.llvm.org
Fri Dec 6 09:42:04 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 50d72fa1461b71d898237f3ce19ab367d0508c87
      https://github.com/llvm/llvm-project/commit/50d72fa1461b71d898237f3ce19ab367d0508c87
  Author: diggerlin <digger.llvm at gmail.com>
  Date:   2019-12-06 (Fri, 06 Dec 2019)

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

  Log Message:
  -----------
  [NFC][AIX][XCOFF] if the size of Csect is zero, the Csect do not need write any data into sections

SUMMARY:

if the size of Csect is zero, the Csect do not need write any data into sections
for example, the TOC Csect has zero size, it do not need invoke a
Asm.writeSectionData(W.OS, Csect.MCCsect, Layout);

Reviewers: daltenty
Subscribers: rupprecht, seiyai,hiraditya

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




More information about the All-commits mailing list