mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	Add r228939 back with a fix.
The problem in the original patch was not switching back to .text after printing an eh table. Original message: On ELF, put PIC jump tables in a non executable section. Fixes PR22558. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229586 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		| @@ -60,6 +60,9 @@ public: | ||||
|   getSectionForJumpTable(const Function &F, Mangler &Mang, | ||||
|                          const TargetMachine &TM) const override; | ||||
|  | ||||
|   bool shouldPutJumpTableInFunctionSection(bool UsesLabelDifference, | ||||
|                                            const Function &F) const override; | ||||
|  | ||||
|   /// Return an MCExpr to use for a reference to the specified type info global | ||||
|   /// variable from exception handling information. | ||||
|   const MCExpr * | ||||
|   | ||||
		Reference in New Issue
	
	Block a user