http://llvm.org/bugs/show_bug.cgi?id=15567

Rafael Ávila de Espíndola <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #4 from Rafael Ávila de Espíndola <[email protected]> ---
I think this is a developer/debugging tool and should not be used in a product.

It is used for bisecting a problem. Lets say we have a foo.bc file that
triggers a bug somewhere. We can run

$ llvm-extract -func=foo -o bar1.bc
$ llvm-extract -delete -func=foo -o bar2.bc
$ llc ... bar1.bc -o bar1.o
$ good-llc ... bar2.bc -o bar2.o
# Link bar2.o and bar1.o and see if it has the bug. If so, we can continue the
reduction looking only at function foo.

For this to work, internal symbols have to be converted to default ones with
hidden visibility.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to