HomePhabricator

Use the generic form when printing from the python bindings and the verifier…

Authored by mehdi_amini on Dec 3 2020, 9:45 AM.

Description

Use the generic form when printing from the python bindings and the verifier fails

This reduces the chances of segfault. While it is a good practice to ensure
robust custom printers, it is unfortunately common to have them crash on
invalid input.

Reviewed By: stellaraccident

Differential Revision: https://reviews.llvm.org/D92536