mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-15 07:39:31 +00:00
Updated to use the proper .exports file for the
target platform, depending on whether the target supports the blocks API or not llvm-svn: 95024
This commit is contained in:
parent
8a000012f2
commit
25ef2910a9
31
tools/ed/EnhancedDisassembly.exports.blocks
Normal file
31
tools/ed/EnhancedDisassembly.exports.blocks
Normal file
@ -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
|
@ -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 @@ EDInfo.inc: $(TBLGEN)
|
||||
$(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
|
||||
|
Loading…
Reference in New Issue
Block a user