Changes in directory llvm/docs/CommandGuide:

llvm2cpp.pod updated: 1.1 -> 1.2
---
Log message:

Add the new command line arguments.


---
Diffs of the changes:  (+16 -0)

 llvm2cpp.pod |   16 ++++++++++++++++
 1 files changed, 16 insertions(+)


Index: llvm/docs/CommandGuide/llvm2cpp.pod
diff -u llvm/docs/CommandGuide/llvm2cpp.pod:1.1 
llvm/docs/CommandGuide/llvm2cpp.pod:1.2
--- llvm/docs/CommandGuide/llvm2cpp.pod:1.1     Tue May 30 14:56:31 2006
+++ llvm/docs/CommandGuide/llvm2cpp.pod Tue May 30 16:19:29 2006
@@ -70,6 +70,22 @@
 overrides both these default actions and specifies that the module name used
 must be F<moduleName>.
 
+=item B<-funcname> F<functionName>
+
+Specify the name of the function to be generated. The generated code contains a
+single function that produces the input module. By default its name is
+I<makeLLVMModule>. The B<-funcname> option overrides this default and allows
+you to control the name of the generated function. This is handy in conjunction
+with the B<-fragment> option when you only want B<llvm2cpp> to generate a
+single function that produces the module. With both options, such generated 
code
+could be I<#included> into another program.
+
+=item B<-fragment>
+
+This boolean option tells B<llvm2cpp> to generate only a program fragment. By
+deault B<llvm2cpp> generates a full program. With this option specified, only a
+single function that generates the input module will be generated.
+
 =back
 
 =head1 EXIT STATUS



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to