summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/COFF/cross-section-relative.ll
Commit message (Collapse)AuthorAgeFilesLines
* CodeGen: Use PLT relocations for relative references to unnamed_addr functions.Peter Collingbourne2016-04-221-4/+7
| | | | | | | | | | | | | The relative vtable ABI (PR26723) needs PLT relocations to refer to virtual functions defined in other DSOs. The unnamed_addr attribute means that the function's address is not significant, so we're allowed to substitute it with the address of a PLT entry. Also includes a bonus feature: addends for COFF image-relative references. Differential Revision: http://reviews.llvm.org/D17938 llvm-svn: 267211
* Revise test to run llc and llvm-mc separately.Andy Ayers2015-05-281-60/+0
| | | | | | Differential Revision: http://reviews.llvm.org/D10066 llvm-svn: 238508
* Don't omit the constant when computing a cross-section relative relocation.Andy Ayers2015-05-141-0/+97
Differential Revision: http://reviews.llvm.org/D9692 llvm-svn: 237327
OpenPOWER on IntegriCloud