[llvm-bugs] [Bug 27112] New: Inliner crashing with "An asserting value handle still pointed to this value!"
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Mar 29 00:54:13 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=27112
Bug ID: 27112
Summary: Inliner crashing with "An asserting value handle still
pointed to this value!"
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Interprocedural Optimizations
Assignee: unassignedbugs at nondot.org
Reporter: mikael.holmen at ericsson.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 16118
--> https://llvm.org/bugs/attachment.cgi?id=16118&action=edit
Reproducer ll file
Running
opt -S -globals-aa -early-cse -inline ./crash.ll -debug
opt crashes in the inliner:
Args: /data/repo/llvm-patch/build-all/bin/opt -S -globals-aa -early-cse -inline
./crash.ll -debug
Inliner visiting SCC: INDIRECTNODE: 0 call sites.
While deleting: void ()* %foo
An asserting value handle still pointed to this value!
UNREACHABLE executed at ../lib/IR/Value.cpp:744!
#0 0x00000000017a6ad8 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/data/repo/llvm-patch/build-all/bin/opt+0x17a6ad8)
#1 0x00000000017a52a6 llvm::sys::RunSignalHandlers()
(/data/repo/llvm-patch/build-all/bin/opt+0x17a52a6)
#2 0x00000000017a760a SignalHandler(int)
(/data/repo/llvm-patch/build-all/bin/opt+0x17a760a)
#3 0x00007f7fdedb7340 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x10340)
#4 0x00007f7fddfdfcc9 gsignal
/build/eglibc-3GlaMS/eglibc-2.19/signal/../nptl/sysdeps/unix/sysv/linux/raise.c:56:0
#5 0x00007f7fddfe30d8 abort
/build/eglibc-3GlaMS/eglibc-2.19/stdlib/abort.c:91:0
#6 0x0000000001761ddd llvm::llvm_unreachable_internal(char const*, char const*,
unsigned int) (/data/repo/llvm-patch/build-all/bin/opt+0x1761ddd)
#7 0x00000000013ff8ae llvm::ValueHandleBase::ValueIsDeleted(llvm::Value*)
(/data/repo/llvm-patch/build-all/bin/opt+0x13ff8ae)
#8 0x00000000013ff17b llvm::Value::~Value()
(/data/repo/llvm-patch/build-all/bin/opt+0x13ff17b)
#9 0x0000000001398c2d llvm::Function::~Function()
(/data/repo/llvm-patch/build-all/bin/opt+0x1398c2d)
#10 0x0000000001398e79 llvm::Function::~Function()
(/data/repo/llvm-patch/build-all/bin/opt+0x1398e79)
#11 0x000000000146466c llvm::Inliner::removeDeadFunctions(llvm::CallGraph&,
bool) (/data/repo/llvm-patch/build-all/bin/opt+0x146466c)
#12 0x0000000000f90f36 (anonymous
namespace)::CGPassManager::runOnModule(llvm::Module&)
(/data/repo/llvm-patch/build-all/bin/opt+0xf90f36)
#13 0x00000000013d09e5 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/data/repo/llvm-patch/build-all/bin/opt+0x13d09e5)
#14 0x00000000006314be main (/data/repo/llvm-patch/build-all/bin/opt+0x6314be)
#15 0x00007f7fddfcaec5 __libc_start_main
/build/eglibc-3GlaMS/eglibc-2.19/csu/libc-start.c:321:0
#16 0x000000000061d37c _start
(/data/repo/llvm-patch/build-all/bin/opt+0x61d37c)
Stack dump:
0. Program arguments: /data/repo/llvm-patch/build-all/bin/opt -S
-globals-aa -early-cse -inline ./crash.ll -debug
1. Running pass 'CallGraph Pass Manager' on module './crash.ll'.
Abort
--
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/20160329/2a041c4c/attachment.html>
More information about the llvm-bugs
mailing list