[PATCH] D69112: [NFC][XCOFF][AIX] Serialize object file writing for each CsectGroup

Jason Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 17 08:40:21 PDT 2019


jasonliu created this revision.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D69112

Files:
  llvm/lib/MC/XCOFFObjectWriter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69112.225440.patch
Type: text/x-patch
Size: 15055 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191017/0c11bb4f/attachment.bin>


More information about the llvm-commits mailing list