aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Debugger/Debugger.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-01 21:22:36 +0000
committerOwen Anderson <resistor@mac.com>2009-07-01 21:22:36 +0000
commita148fdd8312c060c65bacf8fe61a6db5b2add6a5 (patch)
tree9e5f714db4af7dddfab061cb0016489f6d114c56 /include/llvm/Debugger/Debugger.h
parenta0619e843be1fcf8fba618ed93207cf5db42cc26 (diff)
downloadexternal_llvm-a148fdd8312c060c65bacf8fe61a6db5b2add6a5.zip
external_llvm-a148fdd8312c060c65bacf8fe61a6db5b2add6a5.tar.gz
external_llvm-a148fdd8312c060c65bacf8fe61a6db5b2add6a5.tar.bz2
Hold the LLVMContext by reference rather than by pointer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74640 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Debugger/Debugger.h')
-rw-r--r--include/llvm/Debugger/Debugger.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Debugger/Debugger.h b/include/llvm/Debugger/Debugger.h
index ed04ed5..d003539 100644
--- a/include/llvm/Debugger/Debugger.h
+++ b/include/llvm/Debugger/Debugger.h
@@ -96,7 +96,7 @@ namespace llvm {
/// the PATH for the specified program, loading it when found. If the
/// specified program cannot be found, an exception is thrown to indicate
/// the error.
- void loadProgram(const std::string &Path, LLVMContext* Context);
+ void loadProgram(const std::string &Path, const LLVMContext& Context);
/// unloadProgram - If a program is running, kill it, then unload all traces
/// of the current program. If no program is loaded, this method silently