From 27025b7f3c35e9395efddc8e11d46c695075d506 Mon Sep 17 00:00:00 2001 From: Dylan McKay Date: Wed, 5 Oct 2016 12:32:24 +0000 Subject: [PATCH] [AVR] Update return type of dynamic alloca pass It was recently changed from 'const char*' to StringRef git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283312 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/AVR/AVRFrameLowering.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/AVR/AVRFrameLowering.cpp b/lib/Target/AVR/AVRFrameLowering.cpp index 97e33b8e6a7..6f6128f55bb 100644 --- a/lib/Target/AVR/AVRFrameLowering.cpp +++ b/lib/Target/AVR/AVRFrameLowering.cpp @@ -473,7 +473,7 @@ struct AVRFrameAnalyzer : public MachineFunctionPass { return false; } - const char *getPassName() const { return "AVR Frame Analyzer"; } + StringRef getPassName() const { return "AVR Frame Analyzer"; } }; char AVRFrameAnalyzer::ID = 0; @@ -522,7 +522,7 @@ struct AVRDynAllocaSR : public MachineFunctionPass { return true; } - const char *getPassName() const { + StringRef getPassName() const { return "AVR dynalloca stack pointer save/restore"; } };