|
From: <sv...@va...> - 2007-03-27 06:46:06
|
Author: njn
Date: 2007-03-27 07:46:03 +0100 (Tue, 27 Mar 2007)
New Revision: 6674
Log:
clarify comment
Modified:
trunk/include/pub_tool_tooliface.h
Modified: trunk/include/pub_tool_tooliface.h
===================================================================
--- trunk/include/pub_tool_tooliface.h 2007-03-26 23:53:25 UTC (rev 6673)
+++ trunk/include/pub_tool_tooliface.h 2007-03-27 06:46:03 UTC (rev 6674)
@@ -368,7 +368,9 @@
/* Tool defines its own command line options? */
extern void VG_(needs_command_line_options) (
// Return True if option was recognised. Presumably sets some state to
- // record the option as well.
+ // record the option as well. Nb: tools can assume that the argv will
+ // never disappear. So they can, for example, store a pointer to a string
+ // within an option, rather than having to make a copy.
Bool (*process_cmd_line_option)(Char* argv),
// Print out command line usage for options for normal tool operation.
|