llvm-6502/include/llvm
Chris Lattner 8c6ed05157 Big change #1 for personality function references:
Eliminate the PersonalityPrefix/Suffix & NeedsIndirectEncoding
fields from MAI: they aren't part of the asm syntax, they are
related to the structure of the object file.

To replace their functionality, add a new 
TLOF::getSymbolForDwarfGlobalReference method which asks targets
to decide how to reference a global from EH in a pc-relative way.

The default implementation just returns the symbol.  The default
darwin implementation references the symbol through an indirect
$non_lazy_ptr stub.  The bizarro x86-64 darwin specialization
handles the weird "foo@GOTPCREL+4" hack.

DwarfException.cpp now uses this to emit the reference to the
symbol in the right way, and this also eliminates another 
horrible hack from DwarfException.cpp:

-    if (strcmp(MAI->getPersonalitySuffix(), "+4@GOTPCREL"))
-      O << "-" << MAI->getPCSymbol();



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81991 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-16 01:46:41 +00:00
..
ADT Fix apostrophos. 2009-09-15 15:08:33 +00:00
Analysis Fix apostrophos. 2009-09-15 15:08:33 +00:00
Assembly Use MemoryBuffer::getBufferIdentifier() in the AsmPrinter instead 2009-09-08 22:20:35 +00:00
Bitcode Add const qualifiers for isBitcodeWrapper, and add new functions 2009-09-02 17:21:29 +00:00
CodeGen inline AsmPrinter::getCurrentFunctionEHName into its only caller. 2009-09-16 00:35:39 +00:00
CompilerDriver Distinguish between 'empty' and empty DAG marker. 2009-09-10 16:22:02 +00:00
Config
Debugger
ExecutionEngine
MC Big change #1 for personality function references: 2009-09-16 01:46:41 +00:00
Support Drop the raw_ostream required buffer size to 1. 2009-09-15 20:31:46 +00:00
System Get rid of GetProcessId in Win32/Program.inc. 2009-09-15 03:39:45 +00:00
Target Big change #1 for personality function references: 2009-09-16 01:46:41 +00:00
Transforms Correctly handle the case where a comparison is created in one BasicBlock and 2009-09-10 07:02:09 +00:00
AbstractTypeUser.h When a constant's type is refined, update the constant in place 2009-09-15 15:58:07 +00:00
Argument.h
Attributes.h
AutoUpgrade.h
BasicBlock.h Add a comment. 2009-09-02 01:14:16 +00:00
CallGraphSCCPass.h Fix some nasty callgraph dangling pointer problems in 2009-08-31 00:19:58 +00:00
CallingConv.h
CMakeLists.txt
Constant.h
Constants.h Factor out the code for checking that all indices in a getelementptr are 2009-09-10 23:37:55 +00:00
DerivedTypes.h
Function.h Retype from unsigned to CallingConv::ID accordingly. Approved by Bob Wilson. 2009-09-02 08:44:58 +00:00
GlobalAlias.h Public and private corrections, warned about by icc (#304). 2009-09-06 08:55:57 +00:00
GlobalValue.h
GlobalVariable.h Public and private corrections, warned about by icc (#304). 2009-09-06 08:55:57 +00:00
InlineAsm.h
InstrTypes.h Reappy r80998, now that the GlobalOpt bug that it exposed on MiniSAT is fixed. 2009-09-07 23:54:19 +00:00
Instruction.def
Instruction.h
Instructions.h Add malloc call utility functions. Patch by Victor Hernandez. 2009-09-10 04:36:43 +00:00
IntrinsicInst.h
Intrinsics.h
Intrinsics.td
IntrinsicsAlpha.td
IntrinsicsARM.td
IntrinsicsBlackfin.td
IntrinsicsCellSPU.td
IntrinsicsPowerPC.td
IntrinsicsX86.td
IntrinsicsXCore.td
LinkAllPasses.h Addedum to r80712, forgot to add files. 2009-09-01 19:05:58 +00:00
LinkAllVMCore.h
Linker.h
LLVMContext.h
Metadata.h Now Bitcode reader bug is fixed. Reapply 80839. 2009-09-03 01:39:20 +00:00
Module.h
ModuleProvider.h Remove warnings about unused parameters and shadowed variables. 2008-05-19 20:15:12 +00:00
OperandTraits.h Public and private corrections, warned about by icc (#304). 2009-09-06 08:55:57 +00:00
Operator.h Reappy r80998, now that the GlobalOpt bug that it exposed on MiniSAT is fixed. 2009-09-07 23:54:19 +00:00
Pass.h Fix a typo in a comment. 2009-09-01 18:29:01 +00:00
PassAnalysisSupport.h
PassManager.h
PassManagers.h make -debug-pass=Executions show information about what call graph nodes 2009-09-15 05:03:04 +00:00
PassSupport.h
SymbolTableListTraits.h
Type.h
TypeSymbolTable.h
Use.h
User.h
Value.h When a constant's type is refined, update the constant in place 2009-09-15 15:58:07 +00:00
ValueSymbolTable.h