This is an archive of the discontinued LLVM Phabricator instance.

prepare_binding_Python: print readable errors if SWIG fails
ClosedPublic

Authored by lawrence_danna on Sep 19 2019, 9:15 PM.

Details

Summary

When swig fails, all the errors are squished onto one line with \n quoting.
It's very hard to read. This will print them out in a more reasonable format.

Diff Detail

Repository
rL LLVM

Event Timeline

lawrence_danna created this revision.Sep 19 2019, 9:15 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 19 2019, 9:15 PM
labath accepted this revision.Sep 20 2019, 5:25 AM
This revision is now accepted and ready to land.Sep 20 2019, 5:25 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptSep 20 2019, 4:41 PM