Displaying 2 results from an estimated 2 matches for "1_42_0".
Did you mean:
1_42
2010 Mar 26
0
[LLVMdev] Why is BasicBlock's copy constructor private?
...Given that LLVM is already managing the memory and presumably will do
so for the life of your graph processing, could you just use a
boost::directed_graph<llvm::BasicBlock*> instead?
Alternatively, perhaps you want "external adaptation" as described in
http://www.boost.org/doc/libs/1_42_0/libs/graph/doc/leda_conversion.html
HTH,
~ Scott
2010 Mar 26
3
[LLVMdev] Why is BasicBlock's copy constructor private?
Hi,
LLVM provides basic graph traversal for its CFGs, but I need
additional operations, such as iterating over the edges. I thought I
would solve this problem using the Boost graph library. It should be
relatively simple to walk an LLVM CFG and add the BasicBlock objects
to a Boost graph declared as:
typedef boost::directed_graph<llvm::BasicBlock> Graph;
Once constructed, this