[LLVMbugs] [Bug 7759] New: Crash in CallGraphSCCPass with -argpromotion -loop-extract-single
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Jul 30 11:19:04 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=7759
Summary: Crash in CallGraphSCCPass with -argpromotion
-loop-extract-single
Product: new-bugs
Version: 2.6
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: collinwinter at google.com
CC: llvmbugs at cs.uiuc.edu, nlewycky at google.com
Created an attachment (id=5292)
--> (http://llvm.org/bugs/attachment.cgi?id=5292)
Reduced test case
Running `opt ~/sccpass-crash.ll -argpromotion -loop-extract-single -o
/dev/null` results in an assertion failure in CallGraphSCCPass. I've tested
this as of r109867 in a Release+Debug+Asserts build.
Assertion failed: (CallSites.empty() && "Dangling pointers found in call sites
map"), function RefreshCallGraph, file
/Users/collinwinter/src/llvm/trunk/lib/Analysis/IPA/CallGraphSCCPass.cpp, line
333.
0 opt 0x0054e748 llvm::SearchForAddressOfSpecialSymbol(char
const*) + 1048
1 opt 0x0054f4a6 llvm::sys::RemoveFileOnSignal(llvm::sys::Path
const&, std::string*) + 1334
2 libSystem.B.dylib 0x954a92bb _sigtramp + 43
3 libSystem.B.dylib 0xffffffff _sigtramp + 1790274927
4 libSystem.B.dylib 0x9551d23a raise + 26
5 libSystem.B.dylib 0x95529679 abort + 73
6 libSystem.B.dylib 0x9551e3db __assert_rtn + 101
7 opt 0x0023edf2 (anonymous
namespace)::CGPassManager::RefreshCallGraph(llvm::CallGraphSCC&,
llvm::CallGraph&, bool) + 2354
8 opt 0x0023fd27 (anonymous
namespace)::CGPassManager::RunAllPassesOnSCC(llvm::CallGraphSCC&,
llvm::CallGraph&, bool&) + 823
9 opt 0x00240add (anonymous
namespace)::CGPassManager::runOnModule(llvm::Module&) + 317
10 opt 0x004b5df6 llvm::MPPassManager::runOnModule(llvm::Module&)
+ 566
11 opt 0x004b61c4 llvm::PassManagerImpl::run(llvm::Module&) + 164
12 opt 0x004b62bb llvm::PassManager::run(llvm::Module&) + 27
13 opt 0x0000c714 main + 3156
14 opt 0x000020e6 start + 54
Stack dump:
0. Program arguments:
/Users/collinwinter/src/llvm/obj/Release+Debug+Asserts/bin/opt
/Users/collinwinter/sccpass-crash.ll -argpromotion -loop-extract-single -o
/dev/null
1. Running pass 'CallGraph Pass Manager' on module
'/Users/collinwinter/sccpass-crash.ll'.
Abort trap
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list