Page MenuHomePhabricator

[Assembler] Restore diagnostics handler after parsing.

Authored by sanwou01 on Feb 1 2017, 11:37 AM.



The AsmParser's diagnostics handler is no longer valid once the
AsmParser gets destructed. Restore the saved handlers back into the

Event Timeline

sanwou01 created this revision.Feb 1 2017, 11:37 AM
rengolin edited edge metadata.Feb 1 2017, 2:09 PM

Why would you need the diag handler after it's destructed?

sanwou01 abandoned this revision.Feb 8 2017, 2:08 AM

Ready to land as part of D29441.