summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2016-10-01 05:12:48 +0000
committerMehdi Amini <mehdi.amini@apple.com>2016-10-01 05:12:48 +0000
commit217b2464849f038a583b31252664161798a95003 (patch)
tree30bc943cbd010b3aff2f3f5a929e7522ed0249ca /llvm/lib/Target/ARM
parent56f0497bb869338dc1e4868b634f98be83ace483 (diff)
downloadbcm5719-llvm-217b2464849f038a583b31252664161798a95003.tar.gz
bcm5719-llvm-217b2464849f038a583b31252664161798a95003.zip
Revert "Use StringRef in Datalayout API (NFC)"
This reverts commit r283009. Bots are broken. llvm-svn: 283011
Diffstat (limited to 'llvm/lib/Target/ARM')
-rw-r--r--llvm/lib/Target/ARM/ARMAsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMAsmPrinter.cpp b/llvm/lib/Target/ARM/ARMAsmPrinter.cpp
index b73225ef1e8..27d2c4b356d 100644
--- a/llvm/lib/Target/ARM/ARMAsmPrinter.cpp
+++ b/llvm/lib/Target/ARM/ARMAsmPrinter.cpp
@@ -939,7 +939,7 @@ void ARMAsmPrinter::emitAttributes() {
//===----------------------------------------------------------------------===//
-static MCSymbol *getPICLabel(StringRef Prefix, unsigned FunctionNumber,
+static MCSymbol *getPICLabel(const char *Prefix, unsigned FunctionNumber,
unsigned LabelId, MCContext &Ctx) {
MCSymbol *Label = Ctx.getOrCreateSymbol(Twine(Prefix)
OpenPOWER on IntegriCloud