[all-commits] [llvm/llvm-project] 78207e: [NFC][XCOFF][AIX] Serialize object file writing fo...

jasonliudev via All-commits all-commits at lists.llvm.org
Thu Oct 24 08:39:46 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 78207e1f234eede120beaf730dfb7bb9d4e00a1b
      https://github.com/llvm/llvm-project/commit/78207e1f234eede120beaf730dfb7bb9d4e00a1b
  Author: jasonliu <jasonliu.development at gmail.com>
  Date:   2019-10-24 (Thu, 24 Oct 2019)

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

  Log Message:
  -----------
  [NFC][XCOFF][AIX] Serialize object file writing for each CsectGroup

Summary:

Right now we handle each CsectGroup(ProgramCodeCsects, BSSCsects)
individually when assigning indices, writing symbol table, and
writing section raw data. However, there is already a pattern there,
and we could common up those actions for every CsectGroup. This will
 make adding new CsectGroup(Read Write data, Read only data, TC/TOC,
 mergeable string) easier, and less error prone.

Reviewed by: sfertile, daltenty, DiggerLin

Approved by: daltenty

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




More information about the All-commits mailing list