[llvm-commits] [patch][pr11202] Handle BB with address taken being deleted from codegen

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Nov 14 12:33:13 PST 2011


Both Eli and Joshua pointed out that having to manually call
UpdateForDeletedMachineBlock was error prone.

Eli suggested keeping track of which symbols are used and print the
missing ones at the end. This patch implements this. One nice property
is that it works both for IL and machine code. One problem is that the
labels are printed at the end of the file, not at the start of the
function they would be in. Not sure if that is real problem.

The handling of RAUW still depends on the callback, but fortunately I
don't think we RAUW machine basic blocks.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr11202.patch
Type: application/octet-stream
Size: 11167 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111114/c1548ae9/attachment.obj>


More information about the llvm-commits mailing list