[cfe-dev] Clang Control Flow Graph?

Sung-Yee Guo masoug at gmail.com
Tue Aug 6 18:37:17 PDT 2013


Hi,
Just a quick question: Are the CFGBlock IDs strictly assigned in the
depth-first order? I was trying to traverse the CFG but terminators like for
loops "trap" me into an infinite loop; the successors have a path back to
the predecessor of some blocks. My thinking was that if the block ids were
assigned in a specific order, I may be able to use them as a way to avoid
running into infinite loops (and stack overflows).

Thanks!
-Masoug


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130806/8b80ba3f/attachment.html>


More information about the cfe-dev mailing list