summaryrefslogtreecommitdiffstats
path: root/include/llvm/Debugger/SourceFile.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Debugger/SourceFile.h')
-rw-r--r--include/llvm/Debugger/SourceFile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Debugger/SourceFile.h b/include/llvm/Debugger/SourceFile.h
index 249435a..155b45f 100644
--- a/include/llvm/Debugger/SourceFile.h
+++ b/include/llvm/Debugger/SourceFile.h
@@ -60,7 +60,7 @@ namespace llvm {
/// getFilename - Return the fully resolved path that this file was loaded
/// from.
- const std::string &getFilename() const { return Filename.toString(); }
+ const std::string &getFilename() const { return Filename.str(); }
/// getSourceLine - Given a line number, return the start and end of the
/// line in the file. If the line number is invalid, or if the file could