diff options
-rw-r--r-- | llvm/lib/Target/AVR/AVRFrameLowering.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/AVR/AVRFrameLowering.cpp b/llvm/lib/Target/AVR/AVRFrameLowering.cpp index 97e33b8e6a7..6f6128f55bb 100644 --- a/llvm/lib/Target/AVR/AVRFrameLowering.cpp +++ b/llvm/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"; } }; |