Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [IR] Disallow llvm.global_ctors and llvm.global_dtors of the 2-field form in ↵ | Fangrui Song | 2019-05-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | textual format The 3-field form was introduced by D3499 in 2014 and the legacy 2-field form was planned to be removed in LLVM 4.0 For the textual format, this patch migrates the existing 2-field form to use the 3-field form and deletes the compatibility code. test/Verifier/global-ctors-2.ll checks we have a friendly error message. For bitcode, lib/IR/AutoUpgrade UpgradeGlobalVariables will upgrade the 2-field form (add i8* null as the third field). Reviewed By: rnk, dexonsmith Differential Revision: https://reviews.llvm.org/D61547 llvm-svn: 360742 | ||||
* | Unified logic for computing target ABI in backend and front end by moving ↵ | Eric Christopher | 2017-06-30 | 1 | -1/+1 |
| | | | | | | | | | | this common code to Support/TargetParser. Modeled Triple::GNU after front end code (aapcs abi) and updated tests that expect apcs abi. Based heavily on a patch by Ana Pazos! llvm-svn: 306768 | ||||
* | Use the correct ctor/dtor section for dynamic-no-pic. | Rafael Espindola | 2016-08-29 | 1 | -0/+4 |
| | | | | llvm-svn: 279967 | ||||
* | Properly emit ctors / dtors with priorities into desired sections | Anton Korobeynikov | 2012-01-25 | 1 | -4/+6 |
| | | | | | | | | and let linker handle the rest. This finally fixes PR5329 llvm-svn: 148990 | ||||
* | Emit the ctors in the proper order on ARM/EABI. | Anton Korobeynikov | 2011-12-03 | 1 | -0/+28 |
Maybe some targets should use this as well. Patch by Evgeniy Stepanov! llvm-svn: 145781 |