[llvm-commits] [llvm] r132797 - in /llvm/trunk: include/llvm/Analysis/CallGraph.h lib/Analysis/IPA/CallGraph.cpp lib/Analysis/IPA/CallGraphSCCPass.cpp lib/Transforms/Utils/InlineFunction.cpp

Rafael Avila de Espindola rafael.espindola at gmail.com
Thu Jun 9 13:25:55 PDT 2011


On 11-06-09 03:46 PM, John McCall wrote:
> Author: rjmccall
> Date: Thu Jun  9 14:46:27 2011
> New Revision: 132797
>
> URL: http://llvm.org/viewvc/llvm-project?rev=132797&view=rev
> Log:
> Teach the CallGraph to ignore calls to intrinsics.
>
>

looks like this broke selfhost:

clang-3.0: /home/espindola/llvm/llvm/lib/Analysis/IPA/CallGraph.cpp:284: 
void llvm::CallGraphNode::removeCallEdgeFor(llvm::CallSite): Assertion 
`I != CalledFunctions.end() && "Cannot find callsite to remove!"' failed.
Stack dump:
0.	Program arguments: /home/espindola/tmpfs/build/bin/clang-3.0 -cc1 
-triple x86_64-unknown-linux-gnu -S -disable-free -main-file-name 
ARMDecoderEmitter.cpp -pic-level 2 -mdisable-fp-elim -masm-verbose 
-mconstructor-aliases -munwind-tables -target-cpu x86-64 
-momit-leaf-frame-pointer -coverage-file ARMDecoderEmitter.s 
-resource-dir /home/espindola/tmpfs/build/bin/../lib/clang/3.0 -O3 -Wall 
-W -Wno-unused-parameter -Wwrite-strings -Wno-long-long -pedantic 
-fconst-strings -fdeprecated-macro -ferror-limit 19 -fmessage-length 137 
-fcxx-exceptions -fexceptions -fgnu-runtime -fdiagnostics-show-option 
-fcolor-diagnostics -o ARMDecoderEmitter.s -x c++-cpp-output 
/home/espindola/tmpfs/ARMDecoderEmitter.ii
1.	<eof> parser at end of file
2.	Per-module optimization passes
3.	Running pass 'CallGraph Pass Manager' on module 
'/home/espindola/tmpfs/ARMDecoderEmitter.ii'.


Cheers,
Rafael



More information about the llvm-commits mailing list