[ARM,AArch64] Store source location of asm constant pool entries
[oota-llvm.git] / lib / Target / ARM / MCTargetDesc / ARMTargetStreamer.cpp
index b680db5c3a78304dc465e2d77c1bcb3c91a0ad98..dad50f2834ee4abd085bdf6b9a0a8ceb995b1685 100644 (file)
@@ -27,8 +27,8 @@ ARMTargetStreamer::~ARMTargetStreamer() {}
 
 // The constant pool handling is shared by all ARMTargetStreamer
 // implementations.
-const MCExpr *ARMTargetStreamer::addConstantPoolEntry(const MCExpr *Expr) {
-  return ConstantPools->addEntry(Streamer, Expr, 4);
+const MCExpr *ARMTargetStreamer::addConstantPoolEntry(const MCExpr *Expr, SMLoc Loc) {
+  return ConstantPools->addEntry(Streamer, Expr, 4, Loc);
 }
 
 void ARMTargetStreamer::emitCurrentConstantPool() {