[llvm-commits] CVS: llvm/include/llvm/Debugger/Debugger.h
Chris Lattner
lattner at cs.uiuc.edu
Mon Jan 5 23:33:03 PST 2004
Changes in directory llvm/include/llvm/Debugger:
Debugger.h updated: 1.1 -> 1.2
---
Log message:
add new method
---
Diffs of the changes: (+4 -0)
Index: llvm/include/llvm/Debugger/Debugger.h
diff -u llvm/include/llvm/Debugger/Debugger.h:1.1 llvm/include/llvm/Debugger/Debugger.h:1.2
--- llvm/include/llvm/Debugger/Debugger.h:1.1 Sun Jan 4 23:23:38 2004
+++ llvm/include/llvm/Debugger/Debugger.h Mon Jan 5 23:31:57 2004
@@ -67,6 +67,10 @@
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];
+ }
//===------------------------------------------------------------------===//
More information about the llvm-commits
mailing list