mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 05:24:01 +00:00
Fixed a sign-extension bug in the X86 disassembler
that was causing PC-relative branch targets to be evaluated incorrectly. Also added support for checking operand values to the llvm-mc tester. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103128 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -342,6 +342,8 @@ int Disassembler::disassembleEnhanced(const std::string &TS,
|
||||
operand,
|
||||
verboseEvaluator,
|
||||
&disassembler);
|
||||
|
||||
outs() << "=" << evaluatedResult;
|
||||
|
||||
outs() << " ";
|
||||
}
|
||||
|
Reference in New Issue
Block a user