From cdf31c662a64c6588a95cf353319943f8230ca6f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 6 Jan 2004 05:31:57 +0000 Subject: [PATCH] add new method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10699 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Debugger/Debugger.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/llvm/Debugger/Debugger.h b/include/llvm/Debugger/Debugger.h index b1115daca6a..0d45187c5af 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]; + } //===------------------------------------------------------------------===//