Displaying 1 result from an estimated 1 matches for "node0x10026b0".
2010 Mar 15
1
[LLVMdev] CFG as DOT: where do node addresses come from?
Hi,
The -dot-cfg option of opt will write a diagram of an analyzed
function's CFG to DOT format. If you then open the DOT file, you will
see that the BasicBlocks are uniquely identified with hexadecimal
addresses. For example, an edge from one block to another may look like:
Node0x10026b0:s0 -> Node0x1004c20;
I've been trying to figure out where these hexadecimal addresses come
from. I've been up and down the code but remain at a loss. I can see
where GraphWriter.h is actually writing the strings to the DOT file,
and I can see that some of the DOT data is coming fr...