Second try at integrating the edis tester. This

time I use the LIBS variable, which is not subject
to a %.a -> -l% transformation, to link llvm-mc
against libEnhancedDisassembly.

llvm-mc -edis works the same as llvm-mc
-disassemble, but outputs tokens and operands.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101058 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Sean Callanan
2010-04-12 19:43:00 +00:00
parent bb6e9d8cf7
commit 668b15467b
5 changed files with 259 additions and 48 deletions

View File

@@ -27,6 +27,9 @@ public:
static int disassemble(const Target &target,
const std::string &tripleString,
MemoryBuffer &buffer);
static int disassembleEnhanced(const std::string &tripleString,
MemoryBuffer &buffer);
};
} // namespace llvm