Matching source-level CFG basic blocks to LLVM IR basic blocks
Posted 18th December 2014
Source-level Control Flow Graphs (CFGs) generated by Clang follow the same structure as CFGs composed of LLVM Intermediate Representation (IR) basic blocks. With a little effort, we can create a mapping between source-level CFG basic blocks and their corresponding LLVM IR basic blocks.
Tags: C++, Clang, Development, LLVM