projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd60382
)
wire up ARM's printMCInst method. Now llvm-mc should be able to produce
author
Chris Lattner
<sabre@nondot.org>
Mon, 19 Oct 2009 19:59:05 +0000
(19:59 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 19 Oct 2009 19:59:05 +0000
(19:59 +0000)
"something" when printing MCInsts, it will just be missing all the
operand info.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84528
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
b/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
index 6d4a05f6cbe7d2a53aeddcbfbd2fc6169868a8ce..9c8c2723b28fd4c84f9f5db332191df5bf98a8b9 100644
(file)
--- a/
lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
+++ b/
lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
@@
-17,6
+17,7
@@
#include "ARMAddressingModes.h"
#include "ARMConstantPoolValue.h"
#include "ARMMachineFunctionInfo.h"
+#include "ARMInstPrinter.h"
#include "llvm/Constants.h"
#include "llvm/Module.h"
#include "llvm/Assembly/Writer.h"
@@
-73,6
+74,10
@@
namespace {
virtual const char *getPassName() const {
return "ARM Assembly Printer";
}
+
+ void printMCInst(const MCInst *MI) {
+ ARMInstPrinter(O, *MAI).printInstruction(MI);
+ }
void printOperand(const MachineInstr *MI, int OpNum,
const char *Modifier = 0);