[llvm-bugs] [Bug 29084] New: bugpoint crashes attempting simple bc reduction

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Aug 21 17:59:16 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=29084

            Bug ID: 29084
           Summary: bugpoint crashes attempting simple bc reduction
           Product: new-bugs
           Version: trunk
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: dcallahan at fb.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 17022
  --> https://llvm.org/bugs/attachment.cgi?id=17022&action=edit
repo script, input and sample output

This simple invocation of bug point fails with the partial trace below.
Demonstration script, input bc and sample output in attached tar. Just run
"bug.sh" after setting BIN to point to an installation directory.

#4 0x0000000000c9a6a0 llvm::SmallPtrSetImplBase::erase_imp(void const*)
(/home/dcallahan/projects/l\
lvm-git-svn/install/bin/bugpoint+0xc9a6a0)
#5 0x00000000008eeabc llvm::Module::~Module()
(/home/dcallahan/projects/llvm-git-svn/install/bin/bu\
gpoint+0x8eeabc)
#6 0x000000000054e723 TestCodeGenerator(llvm::BugDriver&,
std::unique_ptr<llvm::Module, std::defaul\
t_delete<llvm::Module> >, std::unique_ptr<llvm::Module,
std::default_delete<llvm::Module> >, std::s\
tring&) (/home/dcallahan/projects/llvm-git-svn/install/bin/bugpoint+0x54e723)
#7 0x000000000054f9c3 (anonymous
namespace)::ReduceMiscompilingFunctions::TestFuncs(std::vector<llv\
m::Function*, std::allocator<llvm::Function*> > const&, std::string&) [clone
.isra.268] (/home/dcal\
lahan/projects/llvm-git-svn/install/bin/bugpoint+0x54f9c3)
#8 0x00000000005508b9 (anonymous
namespace)::ReduceMiscompilingFunctions::doTest(std::vector<llvm::\
Function*, std::allocator<llvm::Function*> >&, std::vector<llvm::Function*,
std::allocator<llvm::Fu\
nction*> >&, std::string&)
(/home/dcallahan/projects/llvm-git-svn/install/bin/bugpoint+0x5508b9)
#9 0x0000000000533518
llvm::ListReducer<llvm::Function*>::reduceList(std::vector<llvm::Function*, s\
td::allocator<llvm::Function*> >&, std::string&)
(/home/dcallahan/projects/llvm-git-svn/install/bin\
/bugpoint+0x533518)
#10 0x00000000005533c3 DebugAMiscompilation(llvm::BugDriver&, bool
(*)(llvm::BugDriver&, std::uniqu\
e_ptr<llvm::Module, std::default_delete<llvm::Module> >,
std::unique_ptr<llvm::Module, std::default\
_delete<llvm::Module> >, std::string&), std::string&)
(/home/dcallahan/projects/llvm-git-svn/instal\
l/bin/bugpoint+0x5533c3)
#11 0x0000000000554886 llvm::BugDriver::debugCodeGenerator(std::string*)
(/home/dcallahan/projects/\
llvm-git-svn/install/bin/bugpoint+0x554886)
#12 0x000000000053082e llvm::BugDriver::run(std::string&)
(/home/dcallahan/projects/llvm-git-svn/in\
stall/bin/bugpoint+0x53082e)
#13 0x0000000000508e21 main
(/home/dcallahan/projects/llvm-git-svn/install/bin/bugpoint+0x508e21)

-- 
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/20160822/4edab19f/attachment-0001.html>


More information about the llvm-bugs mailing list