mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 00:24:26 +00:00
Drop the udis86 wrapper from llvm::sys
This optional dependency on the udis86 library was added some time back to aid JIT development, but doesn't make much sense to link into LLVM binaries these days. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213300 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -36,7 +36,6 @@
|
||||
#include "llvm/IR/ValueHandle.h"
|
||||
#include "llvm/IR/ValueMap.h"
|
||||
#include "llvm/Support/Debug.h"
|
||||
#include "llvm/Support/Disassembler.h"
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
#include "llvm/Support/ManagedStatic.h"
|
||||
#include "llvm/Support/Memory.h"
|
||||
@ -929,11 +928,6 @@ bool JITEmitter::finishFunction(MachineFunction &F) {
|
||||
MemMgr->setMemoryExecutable();
|
||||
|
||||
DEBUG({
|
||||
if (sys::hasDisassembler()) {
|
||||
dbgs() << "JIT: Disassembled code:\n";
|
||||
dbgs() << sys::disassembleBuffer(FnStart, FnEnd-FnStart,
|
||||
(uintptr_t)FnStart);
|
||||
} else {
|
||||
dbgs() << "JIT: Binary code:\n";
|
||||
uint8_t* q = FnStart;
|
||||
for (int i = 0; q < FnEnd; q += 4, ++i) {
|
||||
@ -955,7 +949,6 @@ bool JITEmitter::finishFunction(MachineFunction &F) {
|
||||
dbgs() << '\n';
|
||||
}
|
||||
dbgs()<< '\n';
|
||||
}
|
||||
});
|
||||
|
||||
if (MMI)
|
||||
|
Reference in New Issue
Block a user