aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/AsmPrinter
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-03 22:28:33 +0000
committerChris Lattner <sabre@nondot.org>2010-04-03 22:28:33 +0000
commit0c08d092049c025c9ccf7143e39f39dc4e30d6b4 (patch)
tree1e27df0eddebd915eb0b8f96e38bedf3c03879ee /lib/Target/ARM/AsmPrinter
parentfd60b8b4842c04e272a5cbdd404ed88d63d6df61 (diff)
downloadexternal_llvm-0c08d092049c025c9ccf7143e39f39dc4e30d6b4.zip
external_llvm-0c08d092049c025c9ccf7143e39f39dc4e30d6b4.tar.gz
external_llvm-0c08d092049c025c9ccf7143e39f39dc4e30d6b4.tar.bz2
asmstreamerize the .size directive for function bodies, force clients
of printOffset to pass in a stream to print to. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100296 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/AsmPrinter')
-rw-r--r--lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp b/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
index ba736e3..b4aa4a4 100644
--- a/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
+++ b/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
@@ -319,7 +319,7 @@ void ARMAsmPrinter::printOperand(const MachineInstr *MI, int OpNum,
O << ":upper16:";
O << *Mang->getSymbol(GV);
- printOffset(MO.getOffset());
+ printOffset(MO.getOffset(), O);
if (isCallOp && Subtarget->isTargetELF() &&
TM.getRelocationModel() == Reloc::PIC_)