New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assertion in ~CallGraphNode "Node deleted while references remain" #26448
Comments
Minimal command line to reproduce the assertion: clang -cc1 -triple aarch64-unknown-freebsd -emit-obj Unified_cpp_js_src6-540de0.cpp Using -triple aarch64-unknown-linux also asserts. |
Backtrace (don't have any symbols right now): #0 0x2b4c47f3 in thr_kill () from /lib/libc.so.7 |
This doesn't reproduce for me with trunk or 3.8 Clang. Did it get fixed somehow? |
Fixed in r257279. |
Extended Description
I can hit the following assertion while building Firefox on FreeBSD on AArch64:
Assertion failed: (NumReferences == 0 && "Node deleted while references remain"), function ~CallGraphNode, file /usr/src/lib/clang/libllvmipa/../../../contrib/llvm/include/llvm/Analysis/CallGraph.h, line 179.
The attached tar file contains the .sh clang output, a minimized .cpp file, and the lr from this file with no optimization.
The text was updated successfully, but these errors were encountered: