X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FCommandGuide%2Fbugpoint.pod;h=12e32fbb2f5c4862ab316acdf0b4cbf542b16c37;hb=73b43b9b549a75fb0015c825df68abd95705a67c;hp=a7f4cbfab1c1823d21a1e4bbeef7a23d1af263fc;hpb=7d686d58a7cc035e7fbf7936a31730d3dd4d3ef6;p=oota-llvm.git diff --git a/docs/CommandGuide/bugpoint.pod b/docs/CommandGuide/bugpoint.pod index a7f4cbfab1c..12e32fbb2f5 100644 --- a/docs/CommandGuide/bugpoint.pod +++ b/docs/CommandGuide/bugpoint.pod @@ -64,10 +64,16 @@ program. By default, B uses these passes internally when attempting to reduce test programs. If you're trying to find a bug in one of these passes, B may crash. +=item B<--enable-valgrind> + +Use valgrind to find faults in the optimization phase. This will allow +bugpoint to find otherwise asymptomatic problems caused by memory +mis-management. + =item B<-find-bugs> Continually randomize the specified passes and run them on the test program -until an error is found in LLVM or the user kills B. +until a bug is found or the user kills B. =item B<--help> @@ -87,6 +93,11 @@ optimizations, use the B<--help> and B<--load> options together; for example: bugpoint --load myNewPass.so --help +=item B<--mlimit> F + +Specifies an upper limit on memory usage of the optimization and codegen. Set +to zero to disable the limit. + =item B<--output> F Whenever the test program produces output on its standard output stream, it @@ -114,7 +125,7 @@ if an error occurs, it will exit with a non-zero value. =head1 SEE ALSO -L, L +L =head1 AUTHOR