[LLVMdev] Using Bugpoint to debug miscompilation

Arushi Aggarwal arushi987 at gmail.com
Tue May 3 09:12:24 PDT 2011


Hi,

I am trying to reduce what I believe to be a miscompilation bug.

Running lli on my bitcode file causes a segmentation fault.

However, running bugpoint as

bugpoint file.bc

gives me the following errors,
/tmp/ccAdmNqH.o: In function `_ZL17bus_error_handleriP7siginfoPv':
bugpoint-test-program.bc-Vega5s.cbe.c:(.text+0x1b4e1): undefined reference
to `std::cerr'
/tmp/ccAdmNqH.o: In function `bb_poolcheck_debug':
bugpoint-test-program.bc-Vega5s.cbe.c:(.text+0x1bdbb): undefined reference
to `std::cerr'
/tmp/ccAdmNqH.o: In function `DisplayChessBoard_OC_TEST':
bugpoint-test-program.bc-Vega5s.cbe.c:(.text+0x3247d): undefined reference
to `std::cerr'
/tmp/ccAdmNqH.o: In function `DisplayPieceBoards':
bugpoint-test-program.bc-Vega5s.cbe.c:(.text+0x3a820): undefined reference
to `std::cerr'
bugpoint-test-program.bc-Vega5s.cbe.c:(.text+0x3a8b1): undefined reference
to `std::cerr'

What is the correct options I need to pass to bugpoint?

Thanks,
Arushi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110503/4edd695c/attachment.html>


More information about the llvm-dev mailing list