[PATCH] D13774: [CodeGen] Mark setjmp/catchret MBBs address-taken
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 16 11:17:45 PDT 2015
rnk added a comment.
I'd actually like this transform to work, and I don't want WinEH to get entangled with BlockAddress support, which is what hasAddressTaken is for.
My idea was to create a pseudo instr during frame lowering that defs EAX/RAX and takes no operands. During X86MCInstrLowering, we would scan forwards to the CATCHRET terminator, get the destination MBB operand, and print its symbol.
http://reviews.llvm.org/D13774
More information about the llvm-commits
mailing list