Displaying 2 results from an estimated 2 matches for "loadassembly".
2010 Nov 03
0
[LLVMdev] Identify recursion in a call graph
...ins C++ unit tests for arbitrary C++ APIs
that don't fit the dejagnu model of running opt or llc over .ll files.
Read through a few of them as examples, or see upstream's documentation at:
http://code.google.com/p/googletest/wiki/Documentation
As an aside, there's a method called LoadAssembly in
unittests/ExecutionEngine/JITTest.cpp that should probably be refactored
somewhere more general. It's great for embedding .ll text inside a unit
test.
Nick
2010 Nov 03
2
[LLVMdev] Identify recursion in a call graph
On Nov 2, 2010, at 12:53 PM, Jeff Kunkel wrote:
> Also, could you write this in a separate pass, and obtain the
> results from getAnalysis()? I think others would find it useful to
> discover if a Function may be called recursively.
I've modified the code so that it correctly identifies both direct and
indirect recursion. I'm now trying to package it up as a patch for the