From a2b9a7ce8f1246e9d8b0d65ba3d989a2b2d25451 Mon Sep 17 00:00:00 2001
From: Patrick Walton <pcwalton@mimiga.net>
Date: Thu, 24 Mar 2011 11:26:46 -0700
Subject: rustc: Use a .def file for Darwin. Puts out burning Darwin tinderbox.

---
 src/rustllvm/rustllvm.darwin.def | 586 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 586 insertions(+)
 create mode 100644 src/rustllvm/rustllvm.darwin.def

(limited to 'src/rustllvm/rustllvm.darwin.def')

diff --git a/src/rustllvm/rustllvm.darwin.def b/src/rustllvm/rustllvm.darwin.def
new file mode 100644
index 00000000..e078a14d
--- /dev/null
+++ b/src/rustllvm/rustllvm.darwin.def
@@ -0,0 +1,586 @@
+_LLVMRustCreateMemoryBufferWithContentsOfFile
+_LLVMRustGetLastError
+_LLVMCreateObjectFile
+_LLVMDisposeObjectFile
+_LLVMGetSections
+_LLVMDisposeSectionIterator
+_LLVMIsSectionIteratorAtEnd
+_LLVMMoveToNextSection
+_LLVMGetSectionName
+_LLVMGetSectionSize
+_LLVMGetSectionContents
+_LLVMABIAlignmentOfType
+_LLVMABISizeOfType
+_LLVMAddAggressiveDCEPass
+_LLVMAddAlias
+_LLVMAddArgumentPromotionPass
+_LLVMAddAttribute
+_LLVMAddCFGSimplificationPass
+_LLVMAddCase
+_LLVMAddConstantMergePass
+_LLVMAddConstantPropagationPass
+_LLVMAddDeadArgEliminationPass
+_LLVMAddDeadStoreEliminationPass
+_LLVMAddDeadTypeEliminationPass
+_LLVMAddDemoteMemoryToRegisterPass
+_LLVMAddDestination
+_LLVMAddFunction
+_LLVMAddFunctionAttr
+_LLVMAddFunctionAttrsPass
+_LLVMAddFunctionInliningPass
+_LLVMAddGVNPass
+_LLVMAddGlobal
+_LLVMAddGlobalDCEPass
+_LLVMAddGlobalInAddressSpace
+_LLVMAddGlobalMapping
+_LLVMAddGlobalOptimizerPass
+_LLVMAddIPConstantPropagationPass
+_LLVMAddIPSCCPPass
+_LLVMAddIncoming
+_LLVMAddIndVarSimplifyPass
+_LLVMAddInstrAttribute
+_LLVMAddInstructionCombiningPass
+_LLVMAddInternalizePass
+_LLVMAddJumpThreadingPass
+_LLVMAddLICMPass
+_LLVMAddLoopDeletionPass
+_LLVMAddLoopRotatePass
+_LLVMAddLoopUnrollPass
+_LLVMAddLoopUnswitchPass
+_LLVMAddLowerSetJmpPass
+_LLVMAddMemCpyOptPass
+_LLVMAddModule
+_LLVMAddModuleProvider
+_LLVMAddPromoteMemoryToRegisterPass
+_LLVMAddPruneEHPass
+_LLVMAddRaiseAllocationsPass
+_LLVMAddReassociatePass
+_LLVMAddSCCPPass
+_LLVMAddScalarReplAggregatesPass
+_LLVMAddScalarReplAggregatesPassWithThreshold
+_LLVMAddSimplifyLibCallsPass
+_LLVMAddStripDeadPrototypesPass
+_LLVMAddStripSymbolsPass
+_LLVMAddTailCallEliminationPass
+_LLVMAddTargetData
+_LLVMAddTypeName
+_LLVMAddVerifierPass
+_LLVMAlignOf
+_LLVMAppendBasicBlock
+_LLVMAppendBasicBlockInContext
+_LLVMArrayType
+_LLVMBasicBlockAsValue
+_LLVMBlockAddress
+_LLVMBuildAShr
+_LLVMBuildAdd
+_LLVMBuildAggregateRet
+_LLVMBuildAlloca
+_LLVMBuildAnd
+_LLVMBuildArrayAlloca
+_LLVMBuildArrayMalloc
+_LLVMBuildBinOp
+_LLVMBuildBitCast
+_LLVMBuildBr
+_LLVMBuildCall
+_LLVMBuildCast
+_LLVMBuildCondBr
+_LLVMBuildExactSDiv
+_LLVMBuildExtractElement
+_LLVMBuildExtractValue
+_LLVMBuildFAdd
+_LLVMBuildFCmp
+_LLVMBuildFDiv
+_LLVMBuildFMul
+_LLVMBuildFNeg
+_LLVMBuildFPCast
+_LLVMBuildFPExt
+_LLVMBuildFPToSI
+_LLVMBuildFPToUI
+_LLVMBuildFPTrunc
+_LLVMBuildFRem
+_LLVMBuildFSub
+_LLVMBuildFree
+_LLVMBuildGEP
+_LLVMBuildGlobalString
+_LLVMBuildGlobalStringPtr
+_LLVMBuildICmp
+_LLVMBuildInBoundsGEP
+_LLVMBuildIndirectBr
+_LLVMBuildInsertElement
+_LLVMBuildInsertValue
+_LLVMBuildIntCast
+_LLVMBuildIntToPtr
+_LLVMBuildInvoke
+_LLVMBuildIsNotNull
+_LLVMBuildIsNull
+_LLVMBuildLShr
+_LLVMBuildLoad
+_LLVMBuildMalloc
+_LLVMBuildMul
+_LLVMBuildNSWAdd
+_LLVMBuildNSWMul
+_LLVMBuildNSWNeg
+_LLVMBuildNSWSub
+_LLVMBuildNUWAdd
+_LLVMBuildNUWMul
+_LLVMBuildNUWNeg
+_LLVMBuildNUWSub
+_LLVMBuildNeg
+_LLVMBuildNot
+_LLVMBuildOr
+_LLVMBuildPhi
+_LLVMBuildPointerCast
+_LLVMBuildPtrDiff
+_LLVMBuildPtrToInt
+_LLVMBuildRet
+_LLVMBuildRetVoid
+_LLVMBuildSDiv
+_LLVMBuildSExt
+_LLVMBuildSExtOrBitCast
+_LLVMBuildSIToFP
+_LLVMBuildSRem
+_LLVMBuildSelect
+_LLVMBuildShl
+_LLVMBuildShuffleVector
+_LLVMBuildStore
+_LLVMBuildStructGEP
+_LLVMBuildSub
+_LLVMBuildSwitch
+_LLVMBuildTrunc
+_LLVMBuildTruncOrBitCast
+_LLVMBuildUDiv
+_LLVMBuildUIToFP
+_LLVMBuildURem
+_LLVMBuildUnreachable
+_LLVMBuildUnwind
+_LLVMBuildVAArg
+_LLVMBuildXor
+_LLVMBuildZExt
+_LLVMBuildZExtOrBitCast
+_LLVMByteOrder
+_LLVMCallFrameAlignmentOfType
+_LLVMClearInsertionPosition
+_LLVMConstAShr
+_LLVMConstAdd
+_LLVMConstAllOnes
+_LLVMConstAnd
+_LLVMConstArray
+_LLVMConstBitCast
+_LLVMConstExactSDiv
+_LLVMConstExtractElement
+_LLVMConstExtractValue
+_LLVMConstFAdd
+_LLVMConstFCmp
+_LLVMConstFDiv
+_LLVMConstFMul
+_LLVMConstFNeg
+_LLVMConstFPCast
+_LLVMConstFPExt
+_LLVMConstFPToSI
+_LLVMConstFPToUI
+_LLVMConstFPTrunc
+_LLVMConstFRem
+_LLVMConstFSub
+_LLVMConstGEP
+_LLVMConstICmp
+_LLVMConstInBoundsGEP
+_LLVMConstInlineAsm
+_LLVMConstInsertElement
+_LLVMConstInsertValue
+_LLVMConstInt
+_LLVMConstIntCast
+_LLVMConstIntGetSExtValue
+_LLVMConstIntGetZExtValue
+_LLVMConstIntOfArbitraryPrecision
+_LLVMConstIntOfString
+_LLVMConstIntOfStringAndSize
+_LLVMConstIntToPtr
+_LLVMConstLShr
+_LLVMConstMul
+_LLVMConstNSWAdd
+_LLVMConstNSWMul
+_LLVMConstNSWNeg
+_LLVMConstNSWSub
+_LLVMConstNUWAdd
+_LLVMConstNUWMul
+_LLVMConstNUWNeg
+_LLVMConstNUWSub
+_LLVMConstNeg
+_LLVMConstNot
+_LLVMConstNull
+_LLVMConstOr
+_LLVMConstPointerCast
+_LLVMConstPointerNull
+_LLVMConstPtrToInt
+_LLVMConstReal
+_LLVMConstRealOfString
+_LLVMConstRealOfStringAndSize
+_LLVMConstSDiv
+_LLVMConstSExt
+_LLVMConstSExtOrBitCast
+_LLVMConstSIToFP
+_LLVMConstSRem
+_LLVMConstSelect
+_LLVMConstShl
+_LLVMConstShuffleVector
+_LLVMConstString
+_LLVMConstStringInContext
+_LLVMConstStruct
+_LLVMConstStructInContext
+_LLVMConstSub
+_LLVMConstTrunc
+_LLVMConstTruncOrBitCast
+_LLVMConstUDiv
+_LLVMConstUIToFP
+_LLVMConstURem
+_LLVMConstVector
+_LLVMConstXor
+_LLVMConstZExt
+_LLVMConstZExtOrBitCast
+_LLVMContextCreate
+_LLVMContextDispose
+_LLVMCopyStringRepOfTargetData
+_LLVMCountBasicBlocks
+_LLVMCountIncoming
+_LLVMCountParamTypes
+_LLVMCountParams
+_LLVMCountStructElementTypes
+_LLVMCreateBuilder
+_LLVMCreateBuilderInContext
+_LLVMCreateExecutionEngine
+_LLVMCreateExecutionEngineForModule
+_LLVMCreateFunctionPassManager
+_LLVMCreateFunctionPassManagerForModule
+_LLVMCreateGenericValueOfFloat
+_LLVMCreateGenericValueOfInt
+_LLVMCreateGenericValueOfPointer
+_LLVMCreateInterpreter
+_LLVMCreateInterpreterForModule
+_LLVMCreateJITCompiler
+_LLVMCreateJITCompilerForModule
+_LLVMCreateMemoryBufferWithContentsOfFile
+_LLVMCreateMemoryBufferWithSTDIN
+_LLVMCreateModuleProviderForExistingModule
+_LLVMCreateObjectFile
+_LLVMCreatePassManager
+_LLVMCreateTargetData
+_LLVMCreateTypeHandle
+_LLVMDeleteBasicBlock
+_LLVMDeleteFunction
+_LLVMDeleteGlobal
+_LLVMDeleteTypeName
+_LLVMDisposeBuilder
+_LLVMDisposeExecutionEngine
+_LLVMDisposeGenericValue
+_LLVMDisposeMemoryBuffer
+_LLVMDisposeMessage
+_LLVMDisposeModule
+_LLVMDisposeModuleProvider
+_LLVMDisposeObjectFile
+_LLVMDisposePassManager
+_LLVMDisposeSectionIterator
+_LLVMDisposeTargetData
+_LLVMDisposeTypeHandle
+_LLVMDoubleType
+_LLVMDoubleTypeInContext
+_LLVMDumpModule
+_LLVMDumpValue
+_LLVMElementAtOffset
+_LLVMFP128Type
+_LLVMFP128TypeInContext
+_LLVMFinalizeFunctionPassManager
+_LLVMFindFunction
+_LLVMFloatType
+_LLVMFloatTypeInContext
+_LLVMFreeMachineCodeForFunction
+_LLVMFunctionType
+_LLVMGenericValueIntWidth
+_LLVMGenericValueToFloat
+_LLVMGenericValueToInt
+_LLVMGenericValueToPointer
+_LLVMGetAlignment
+_LLVMGetArrayLength
+_LLVMGetAttribute
+_LLVMGetBasicBlockParent
+_LLVMGetBasicBlocks
+_LLVMGetBitcodeModule
+_LLVMGetBitcodeModuleInContext
+_LLVMGetBitcodeModuleProvider
+_LLVMGetBitcodeModuleProviderInContext
+_LLVMGetConstOpcode
+_LLVMGetCurrentDebugLocation
+_LLVMGetDataLayout
+_LLVMGetElementType
+_LLVMGetEntryBasicBlock
+_LLVMGetExecutionEngineTargetData
+_LLVMGetFirstBasicBlock
+_LLVMGetFirstFunction
+_LLVMGetFirstGlobal
+_LLVMGetFirstInstruction
+_LLVMGetFirstParam
+_LLVMGetFirstUse
+_LLVMGetFunctionAttr
+_LLVMGetFunctionCallConv
+_LLVMGetGC
+_LLVMGetGlobalContext
+_LLVMGetGlobalContext
+_LLVMGetGlobalParent
+_LLVMGetGlobalPassRegistry
+_LLVMGetIncomingBlock
+_LLVMGetIncomingValue
+_LLVMGetInitializer
+_LLVMGetInsertBlock
+_LLVMGetInstructionCallConv
+_LLVMGetInstructionParent
+_LLVMGetIntTypeWidth
+_LLVMGetIntrinsicID
+_LLVMGetLastBasicBlock
+_LLVMGetLastFunction
+_LLVMGetLastGlobal
+_LLVMGetLastInstruction
+_LLVMGetLastParam
+_LLVMGetLinkage
+_LLVMGetMDKindID
+_LLVMGetMDKindIDInContext
+_LLVMGetMetadata
+_LLVMGetModuleContext
+_LLVMGetNamedFunction
+_LLVMGetNamedGlobal
+_LLVMGetNextBasicBlock
+_LLVMGetNextFunction
+_LLVMGetNextGlobal
+_LLVMGetNextInstruction
+_LLVMGetNextParam
+_LLVMGetNextUse
+_LLVMGetNumOperands
+_LLVMGetOperand
+_LLVMGetParam
+_LLVMGetParamParent
+_LLVMGetParamTypes
+_LLVMGetParams
+_LLVMGetPointerAddressSpace
+_LLVMGetPointerToGlobal
+_LLVMGetPreviousBasicBlock
+_LLVMGetPreviousFunction
+_LLVMGetPreviousGlobal
+_LLVMGetPreviousInstruction
+_LLVMGetPreviousParam
+_LLVMGetReturnType
+_LLVMGetSection
+_LLVMGetSectionContents
+_LLVMGetSectionName
+_LLVMGetSectionSize
+_LLVMGetSections
+_LLVMGetStructElementTypes
+_LLVMGetTarget
+_LLVMGetTypeByName
+_LLVMGetTypeContext
+_LLVMGetTypeKind
+_LLVMGetTypeName
+_LLVMGetUndef
+_LLVMGetUsedValue
+_LLVMGetUser
+_LLVMGetValueName
+_LLVMGetVectorSize
+_LLVMGetVisibility
+_LLVMHasMetadata
+_LLVMInitializeCodeGen
+_LLVMInitializeFunctionPassManager
+_LLVMInitializeIPA
+_LLVMInitializeInstCombine
+_LLVMInitializeInstrumentation
+_LLVMInitializeScalarOpts
+_LLVMInitializeTarget
+_LLVMInitializeTransformUtils
+_LLVMInitializeX86AsmLexer
+_LLVMInitializeX86AsmLexer
+_LLVMInitializeX86AsmParser
+_LLVMInitializeX86AsmParser
+_LLVMInitializeX86AsmPrinter
+_LLVMInitializeX86AsmPrinter
+_LLVMInitializeX86Disassembler
+_LLVMInitializeX86Disassembler
+_LLVMInitializeX86Target
+_LLVMInitializeX86Target
+_LLVMInitializeX86TargetInfo
+_LLVMInitializeX86TargetInfo
+_LLVMInsertBasicBlock
+_LLVMInsertBasicBlockInContext
+_LLVMInsertIntoBuilder
+_LLVMInsertIntoBuilderWithName
+_LLVMInt16Type
+_LLVMInt16TypeInContext
+_LLVMInt1Type
+_LLVMInt1TypeInContext
+_LLVMInt32Type
+_LLVMInt32TypeInContext
+_LLVMInt64Type
+_LLVMInt64TypeInContext
+_LLVMInt8Type
+_LLVMInt8TypeInContext
+_LLVMIntPtrType
+_LLVMIntType
+_LLVMIntTypeInContext
+_LLVMInvalidateStructLayout
+_LLVMIsAAllocaInst
+_LLVMIsAArgument
+_LLVMIsABasicBlock
+_LLVMIsABinaryOperator
+_LLVMIsABitCastInst
+_LLVMIsABranchInst
+_LLVMIsACallInst
+_LLVMIsACastInst
+_LLVMIsACmpInst
+_LLVMIsAConstant
+_LLVMIsAConstantAggregateZero
+_LLVMIsAConstantArray
+_LLVMIsAConstantExpr
+_LLVMIsAConstantFP
+_LLVMIsAConstantInt
+_LLVMIsAConstantPointerNull
+_LLVMIsAConstantStruct
+_LLVMIsAConstantVector
+_LLVMIsADbgDeclareInst
+_LLVMIsADbgInfoIntrinsic
+_LLVMIsAEHSelectorInst
+_LLVMIsAExtractElementInst
+_LLVMIsAExtractValueInst
+_LLVMIsAFCmpInst
+_LLVMIsAFPExtInst
+_LLVMIsAFPToSIInst
+_LLVMIsAFPToUIInst
+_LLVMIsAFPTruncInst
+_LLVMIsAFunction
+_LLVMIsAGetElementPtrInst
+_LLVMIsAGlobalAlias
+_LLVMIsAGlobalValue
+_LLVMIsAGlobalVariable
+_LLVMIsAICmpInst
+_LLVMIsAInlineAsm
+_LLVMIsAInsertElementInst
+_LLVMIsAInsertValueInst
+_LLVMIsAInstruction
+_LLVMIsAIntToPtrInst
+_LLVMIsAIntrinsicInst
+_LLVMIsAInvokeInst
+_LLVMIsALoadInst
+_LLVMIsAMemCpyInst
+_LLVMIsAMemIntrinsic
+_LLVMIsAMemMoveInst
+_LLVMIsAMemSetInst
+_LLVMIsAPHINode
+_LLVMIsAPtrToIntInst
+_LLVMIsAReturnInst
+_LLVMIsASExtInst
+_LLVMIsASIToFPInst
+_LLVMIsASelectInst
+_LLVMIsAShuffleVectorInst
+_LLVMIsAStoreInst
+_LLVMIsASwitchInst
+_LLVMIsATerminatorInst
+_LLVMIsATruncInst
+_LLVMIsAUIToFPInst
+_LLVMIsAUnaryInstruction
+_LLVMIsAUndefValue
+_LLVMIsAUnreachableInst
+_LLVMIsAUnwindInst
+_LLVMIsAUser
+_LLVMIsAVAArgInst
+_LLVMIsAZExtInst
+_LLVMIsConstant
+_LLVMIsDeclaration
+_LLVMIsFunctionVarArg
+_LLVMIsGlobalConstant
+_LLVMIsNull
+_LLVMIsPackedStruct
+_LLVMIsSectionIteratorAtEnd
+_LLVMIsTailCall
+_LLVMIsThreadLocal
+_LLVMIsUndef
+_LLVMLabelType
+_LLVMLabelTypeInContext
+_LLVMLinkInInterpreter
+_LLVMLinkInJIT
+_LLVMLinkInMCJIT
+_LLVMMDNode
+_LLVMMDNodeInContext
+_LLVMMDString
+_LLVMMDStringInContext
+_LLVMModuleCreateWithName
+_LLVMModuleCreateWithNameInContext
+_LLVMMoveBasicBlockAfter
+_LLVMMoveBasicBlockBefore
+_LLVMMoveToNextSection
+_LLVMOffsetOfElement
+_LLVMOpaqueType
+_LLVMOpaqueTypeInContext
+_LLVMPPCFP128Type
+_LLVMPPCFP128TypeInContext
+_LLVMParseBitcode
+_LLVMParseBitcodeInContext
+_LLVMPointerSize
+_LLVMPointerType
+_LLVMPositionBuilder
+_LLVMPositionBuilderAtEnd
+_LLVMPositionBuilderBefore
+_LLVMPreferredAlignmentOfGlobal
+_LLVMPreferredAlignmentOfType
+_LLVMRecompileAndRelinkFunction
+_LLVMRefineType
+_LLVMRemoveAttribute
+_LLVMRemoveFunctionAttr
+_LLVMRemoveInstrAttribute
+_LLVMRemoveModule
+_LLVMRemoveModuleProvider
+_LLVMReplaceAllUsesWith
+_LLVMResolveTypeHandle
+_LLVMRunFunction
+_LLVMRunFunctionAsMain
+_LLVMRunFunctionPassManager
+_LLVMRunPassManager
+_LLVMRunStaticConstructors
+_LLVMRunStaticDestructors
+_LLVMSetAlignment
+_LLVMSetCurrentDebugLocation
+_LLVMSetDataLayout
+_LLVMSetFunctionCallConv
+_LLVMSetGC
+_LLVMSetGlobalConstant
+_LLVMSetInitializer
+_LLVMSetInstDebugLocation
+_LLVMSetInstrParamAlignment
+_LLVMSetInstructionCallConv
+_LLVMSetLinkage
+_LLVMSetMetadata
+_LLVMSetModuleInlineAsm
+_LLVMSetOperand
+_LLVMSetParamAlignment
+_LLVMSetSection
+_LLVMSetTailCall
+_LLVMSetTarget
+_LLVMSetThreadLocal
+_LLVMSetValueName
+_LLVMSetVisibility
+_LLVMSizeOf
+_LLVMSizeOfTypeInBits
+_LLVMStoreSizeOfType
+_LLVMStructType
+_LLVMStructTypeInContext
+_LLVMTypeOf
+_LLVMValueAsBasicBlock
+_LLVMValueIsBasicBlock
+_LLVMVectorType
+_LLVMVerifyFunction
+_LLVMVerifyModule
+_LLVMViewFunctionCFG
+_LLVMViewFunctionCFGOnly
+_LLVMVoidType
+_LLVMVoidTypeInContext
+_LLVMWriteBitcodeToFD
+_LLVMWriteBitcodeToFile
+_LLVMWriteBitcodeToFileHandle
+_LLVMX86FP80Type
+_LLVMX86FP80TypeInContext
+_LLVMX86MMXType
+_LLVMX86MMXTypeInContext
+
-- 
cgit v1.2.3

