c++ - Modify CFG in LLVM -


could modify cfg in llvm , these modifications written in ir file? made llvm pass modify basic block , edges sequence , ran pass lli -load emit ir, nothing happened think should use commands manipulate original cfg required one. read in llvmdev cfg manipulated changing basic block terminator.however, main point change edges too.

look @ transformation passes in lib/transforms. of them modify ir. run pass modifies ir , spit modified ir back, use opt tool.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -