[PATCH] D65159: [PowerPC][XCOFF] Adds support for writing the .bss section for object files.

Digger via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 13 13:50:31 PDT 2019


DiggerLin added inline comments.


================
Comment at: llvm/lib/MC/XCOFFObjectWriter.cpp:405
+  // BSS Section third.
+  if (!BSSCSects.empty()) {
+    Sections.push_back(&BSS);
----------------
Can we use a function for the code line 405~432, I think the Text section and Data section maybe use the same code later


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65159/new/

https://reviews.llvm.org/D65159





More information about the llvm-commits mailing list