[PATCH] D70271: [AIX][XCOFF] Write Function descriptors and TOC base to data section

Digger via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 15 07:52:00 PST 2019


DiggerLin added inline comments.
Herald added a subscriber: wuzish.


================
Comment at: llvm/lib/MC/XCOFFObjectWriter.cpp:255
     report_fatal_error("Unhandled mapping of read-write csect to section.");
+  case XCOFF::XMC_DS:
+      return DataCsects;
----------------
I am not sure whether all function description data will be group together and than put in the .data section of xcoffobjectfile?  all the variable data and function description will be interleaved into data section.

As I remember, I read some document , it talk about that , we put all variables in the data section first. then function description,s final is TOC entries.   Maybe I wrong.



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

https://reviews.llvm.org/D70271





More information about the llvm-commits mailing list