Commit 2dcdec89 authored by Tatiana Shpeisman's avatar Tatiana Shpeisman Committed by jpienaar
Browse files

Fix segfaults when printing unlinked statements, instructions and blocks....

Fix segfaults when printing unlinked statements, instructions and blocks. Fancy printing requires a pointer to the function since SSA values get function-specific names. This CL adds checks to ensure that we don't dereference null pointers in unliked objects. Unlinked statements, instructions and blocks are printed as <<UNLINKED STATEMENT>> etc.

PiperOrigin-RevId: 207293992
parent b4dea892
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment