[llvm-commits] [llvm] r95024 - in /llvm/trunk/tools/ed: EnhancedDisassembly.exports EnhancedDisassembly.exports.blocks EnhancedDisassembly.exports.noblocks Makefile
Sean Callanan
scallanan at apple.com
Mon Feb 1 15:01:39 PST 2010
Author: spyffe
Date: Mon Feb 1 17:01:38 2010
New Revision: 95024
URL: http://llvm.org/viewvc/llvm-project?rev=95024&view=rev
Log:
Updated to use the proper .exports file for the
target platform, depending on whether the target
supports the blocks API or not
Added:
llvm/trunk/tools/ed/EnhancedDisassembly.exports.blocks
llvm/trunk/tools/ed/EnhancedDisassembly.exports.noblocks
Removed:
llvm/trunk/tools/ed/EnhancedDisassembly.exports
Modified:
llvm/trunk/tools/ed/Makefile
Removed: llvm/trunk/tools/ed/EnhancedDisassembly.exports
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/ed/EnhancedDisassembly.exports?rev=95023&view=auto
==============================================================================
--- llvm/trunk/tools/ed/EnhancedDisassembly.exports (original)
+++ llvm/trunk/tools/ed/EnhancedDisassembly.exports (removed)
@@ -1,28 +0,0 @@
-_EDGetDisassembler
-_EDGetRegisterName
-_EDRegisterIsStackPointer
-_EDRegisterIsProgramCounter
-_EDCreateInsts
-_EDReleaseInst
-_EDInstByteSize
-_EDGetInstString
-_EDInstIsBranch
-_EDInstIsMove
-_EDBranchTargetID
-_EDMoveSourceID
-_EDMoveTargetID
-_EDNumTokens
-_EDGetToken
-_EDGetTokenString
-_EDOperandIndexForToken
-_EDTokenIsWhitespace
-_EDTokenIsPunctuation
-_EDTokenIsOpcode
-_EDTokenIsLiteral
-_EDTokenIsRegister
-_EDTokenIsNegativeLiteral
-_EDLiteralTokenAbsoluteValue
-_EDRegisterTokenValue
-_EDNumOperands
-_EDGetOperand
-_EDEvaluateOperand
Added: llvm/trunk/tools/ed/EnhancedDisassembly.exports.blocks
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/ed/EnhancedDisassembly.exports.blocks?rev=95024&view=auto
==============================================================================
--- llvm/trunk/tools/ed/EnhancedDisassembly.exports.blocks (added)
+++ llvm/trunk/tools/ed/EnhancedDisassembly.exports.blocks Mon Feb 1 17:01:38 2010
@@ -0,0 +1,31 @@
+_EDGetDisassembler
+_EDGetRegisterName
+_EDRegisterIsStackPointer
+_EDRegisterIsProgramCounter
+_EDCreateInsts
+_EDReleaseInst
+_EDInstByteSize
+_EDGetInstString
+_EDInstIsBranch
+_EDInstIsMove
+_EDBranchTargetID
+_EDMoveSourceID
+_EDMoveTargetID
+_EDNumTokens
+_EDGetToken
+_EDGetTokenString
+_EDOperandIndexForToken
+_EDTokenIsWhitespace
+_EDTokenIsPunctuation
+_EDTokenIsOpcode
+_EDTokenIsLiteral
+_EDTokenIsRegister
+_EDTokenIsNegativeLiteral
+_EDLiteralTokenAbsoluteValue
+_EDRegisterTokenValue
+_EDNumOperands
+_EDGetOperand
+_EDEvaluateOperand
+_EDBlockCreateInsts
+_EDBlockEvaluateOperand
+_EDBlockVisitTokens
Added: llvm/trunk/tools/ed/EnhancedDisassembly.exports.noblocks
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/ed/EnhancedDisassembly.exports.noblocks?rev=95024&view=auto
==============================================================================
--- llvm/trunk/tools/ed/EnhancedDisassembly.exports.noblocks (added)
+++ llvm/trunk/tools/ed/EnhancedDisassembly.exports.noblocks Mon Feb 1 17:01:38 2010
@@ -0,0 +1,28 @@
+_EDGetDisassembler
+_EDGetRegisterName
+_EDRegisterIsStackPointer
+_EDRegisterIsProgramCounter
+_EDCreateInsts
+_EDReleaseInst
+_EDInstByteSize
+_EDGetInstString
+_EDInstIsBranch
+_EDInstIsMove
+_EDBranchTargetID
+_EDMoveSourceID
+_EDMoveTargetID
+_EDNumTokens
+_EDGetToken
+_EDGetTokenString
+_EDOperandIndexForToken
+_EDTokenIsWhitespace
+_EDTokenIsPunctuation
+_EDTokenIsOpcode
+_EDTokenIsLiteral
+_EDTokenIsRegister
+_EDTokenIsNegativeLiteral
+_EDLiteralTokenAbsoluteValue
+_EDRegisterTokenValue
+_EDNumOperands
+_EDGetOperand
+_EDEvaluateOperand
Modified: llvm/trunk/tools/ed/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/ed/Makefile?rev=95024&r1=95023&r2=95024&view=diff
==============================================================================
--- llvm/trunk/tools/ed/Makefile (original)
+++ llvm/trunk/tools/ed/Makefile Mon Feb 1 17:01:38 2010
@@ -10,7 +10,7 @@
LEVEL = ../..
LIBRARYNAME = EnhancedDisassembly
-BUILT_SOURCES = EDInfo.inc
+BUILT_SOURCES = EDInfo.inc EnhancedDisassembly.exports
# Include this here so we can get the configuration of the targets
# that have been configured for construction. We have to do this
@@ -51,5 +51,17 @@
$(Echo) "Building semantic information header"
$(Verb) $(TableGen) -o $(call SYSPATH, $@) -gen-enhanced-disassembly-header /dev/null
+EnhancedDisassembly.exports: EnhancedDisassembly.exports.noblocks EnhancedDisassembly.exports.blocks
+ $(Echo) "Copying exports file"
+ifeq ($(HOST_OS),Darwin)
+ $(Verb) if [ $(DARWIN_VERS) -ge 10 ] ; \
+ then $(CP) -f EnhancedDisassembly.exports.blocks EnhancedDisassembly.exports ; \
+ else $(CP) -f EnhancedDisassembly.exports.noblocks EnhancedDisassembly.exports ; \
+ fi
+else
+ $(Verb) $(CP) -f EnhancedDisassembly.exports.noblocks EnhancedDisassembly.exports
+endif
+
clean::
-$(Verb) $(RM) -f EDInfo.inc
+ -$(Verb) $(RM) -f EnhancedDisassembly.exports
More information about the llvm-commits
mailing list