diff options
author | Chris Lattner <sabre@nondot.org> | 2004-01-06 05:31:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-01-06 05:31:57 +0000 |
commit | cdf31c662a64c6588a95cf353319943f8230ca6f (patch) | |
tree | 93653d7bd50d21765874cc3f4f2d4a753a252a05 /include/llvm/Debugger | |
parent | 8ff759072f5dd1fd4158944c90d1f1c93cc2f047 (diff) | |
download | external_llvm-cdf31c662a64c6588a95cf353319943f8230ca6f.zip external_llvm-cdf31c662a64c6588a95cf353319943f8230ca6f.tar.gz external_llvm-cdf31c662a64c6588a95cf353319943f8230ca6f.tar.bz2 |
add new method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10699 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Debugger')
-rw-r--r-- | include/llvm/Debugger/Debugger.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Debugger/Debugger.h b/include/llvm/Debugger/Debugger.h index b1115da..0d45187 100644 --- a/include/llvm/Debugger/Debugger.h +++ b/include/llvm/Debugger/Debugger.h @@ -67,6 +67,10 @@ namespace llvm { void setProgramArguments(It I, It E) { ProgramArguments.assign(I, E); } + unsigned getNumProgramArguments() const { return ProgramArguments.size(); } + const std::string &getProgramArgument(unsigned i) const { + return ProgramArguments[i]; + } //===------------------------------------------------------------------===// |