[LLVMbugs] [Bug 13904] New: Assertion in CallGraph: `!CS.getInstruction() || !CS.getCalledFunction() || !CS.getCalledFunction()->isIntrinsic()'

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Sep 23 10:58:44 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=13904

             Bug #: 13904
           Summary: Assertion in CallGraph: `!CS.getInstruction() ||
                    !CS.getCalledFunction() ||
                    !CS.getCalledFunction()->isIntrinsic()'
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Global Analyses
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: jordan_rose at apple.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


The dragonegg-x86_64-linux-gcc-4.6-fnt and clang-x86_64-debian-fnt builds have
been failing to compile two of their tests since Friday. The clang build log
doesn't have much useful information, but the dragonegg log shows an assertion
failure (below).

The first failing builds are here, but the associated commits don't look
relevant at all:

http://lab.llvm.org:8011/builders/dragonegg-x86_64-linux-gcc-4.6-fnt/builds/1522
http://lab.llvm.org:8011/builders/clang-x86_64-debian-fnt/builds/10386



opt:
/home/baldrick/osuosl/slave/dragonegg-x86_64-linux-gcc-4.6-fnt/llvm.src/include/llvm/Analysis/CallGraph.h:264:
void llvm::CallGraphNode::addCalledFunction(llvm::CallSite,
llvm::CallGraphNode*): Assertion `!CS.getInstruction() ||
!CS.getCalledFunction() || !CS.getCalledFunction()->isIntrinsic()' failed.
Stack dump:
0.    Program arguments:
/home/baldrick/osuosl/slave/dragonegg-x86_64-linux-gcc-4.6-fnt/llvm.obj/Release+Asserts/bin/opt
-std-link-opts
-info-output-file=/home/baldrick/osuosl/slave/dragonegg-x86_64-linux-gcc-4.6-fnt/test-suite.obj/MultiSource/Benchmarks/Prolangs-C++/deriv1/Output/deriv1.llvm.bc.info
-stats -time-passes Output/deriv1.linked.bc -o Output/deriv1.llvm.bc 
1.    Running pass 'Basic CallGraph Construction' on module
'Output/deriv1.linked.bc'.
sh: line 1: 15482 Aborted                 (core dumped) sh -c
'/home/baldrick/osuosl/slave/dragonegg-x86_64-linux-gcc-4.6-fnt/llvm.obj/Release+Asserts/bin/opt
-std-link-opts
-info-output-file=/home/baldrick/osuosl/slave/dragonegg-x86_64-linux-gcc-4.6-fnt/test-suite.obj/MultiSource/Benchmarks/Prolangs-C++/deriv1/Output/deriv1.llvm.bc.info
-stats -time-passes Output/deriv1.linked.bc -o Output/deriv1.llvm.bc'
warning: command failed:
'/home/baldrick/osuosl/slave/dragonegg-x86_64-linux-gcc-4.6-fnt/llvm.obj/Release+Asserts/bin/opt
-std-link-opts
-info-output-file=/home/baldrick/osuosl/slave/dragonegg-x86_64-linux-gcc-4.6-fnt/test-suite.obj/MultiSource/Benchmarks/Prolangs-C++/deriv1/Output/deriv1.llvm.bc.info
-stats -time-passes Output/deriv1.linked.bc -o Output/deriv1.llvm.bc'

-- 
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