From 6e4d11f026224f4229efac6ee0be8fd1575495d6 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 12 Oct 2009 18:12:47 +0000 Subject: [PATCH] Improve bugpoint doc, patch by Timo Lindfors! llvm-svn: 83865 --- docs/Bugpoint.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/Bugpoint.html b/docs/Bugpoint.html index 0f5a511f71c..bf75b5ba44c 100644 --- a/docs/Bugpoint.html +++ b/docs/Bugpoint.html @@ -216,6 +216,17 @@ non-obvious ways. Here are some hints and tips:

the list of specified optimizations to be randomized and applied to the program. This process will repeat until a bug is found or the user kills bugpoint. + +

  • bugpoint does not understand the -O option + that is used to specify optimization level to opt. You + can use e.g.

    + +
    +

    opt -O2 -debug-pass=Arguments foo.bc -disable-output

    +
    + +

    to get a list of passes that are used with -O2 and + then pass this list to bugpoint.