diff options
author | Mehdi Amini <joker.eph@gmail.com> | 2020-12-03 17:45:28 +0000 |
---|---|---|
committer | Mehdi Amini <joker.eph@gmail.com> | 2020-12-03 18:45:00 +0000 |
commit | 1c2159494d0731d3ecf4c02651f8b14ab9eb0338 (patch) | |
tree | 42ebd17b255ed853903eacc5f48e7fc81715f5a8 /llvm/lib/Support/Unicode.cpp | |
parent | df8a79258fe75eea4ee5de6c972c08ec97aaead6 (diff) | |
download | llvm-1c2159494d0731d3ecf4c02651f8b14ab9eb0338.zip llvm-1c2159494d0731d3ecf4c02651f8b14ab9eb0338.tar.gz llvm-1c2159494d0731d3ecf4c02651f8b14ab9eb0338.tar.bz2 |
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
Diffstat (limited to 'llvm/lib/Support/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions