[LLVMbugs] [Bug 15567] llvm-extract alters linkage of symbols

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Mar 21 20:15:06 PDT 2013


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

Rafael Ávila de Espíndola <rafael.espindola at gmail.com> changed:

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

--- Comment #4 from Rafael Ávila de Espíndola <rafael.espindola at gmail.com> ---
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130322/43362584/attachment.html>


More information about the llvm-bugs mailing list