summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/aix-func-dsc-gen.ll
Commit message (Collapse)AuthorAgeFilesLines
* [XCOFF][AIX] Emit TOC entries for object file generationjasonliu2019-12-041-1/+1
| | | | | | | | | | | | | | | | | | | | Summary: Implement emitTCEntry for PPCTargetXCOFFStreamer. Add TC csects to TOCCsects for object file writing. Note: 1. I did not include any raw data testing for this object file generation because TC entries raw data will all be 0 without relocation implemented. I will add raw data testing as part of relocation testing later. 2. I removed "Symbol->setFragment(F);" for common symbols because we don't need it, and if we have it then we would hit assertions below: Assertion `(SymbolContents == SymContentsUnset || SymbolContents == SymContentsOffset) && "Cannot get offset for a common/variable symbol"' failed. 3.Fixed incorrect TOC-base alignment. Differential Revision: https://reviews.llvm.org/D70798
* [AIX][XCOFF] Write Function descriptors and TOC base to data sectionjasonliu2019-11-191-0/+112
This patch implements writing function descriptors and TOC base into data section, and also add function descriptors(both csect and label) and TOC base symbols to the symbol table.
OpenPOWER on IntegriCloud