From 1e079056385c3c5e1da136cfa4bef71e28607868 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! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83865 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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.

    -- 2.34.1