tools/ocaml: abi-check: Improve output and error messages
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 10 Sep 2019 11:34:38 +0000 (12:34 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Tue, 10 Sep 2019 13:44:33 +0000 (14:44 +0100)
commite6816b4363ffa997f28ceef658d70a36ac2b4356
tree08b8b99c26eebe103e4a68baf7121c8eac29f548
parent133821e5959ec4605978f6d10964c3166aaad636
tools/ocaml: abi-check: Improve output and error messages

In the generated C, add some comments saying where we found the ocaml
type.  This helps with debugging.  (I considered emitting #line
directives but decided this would be more confusing than helpful.)

Improve two dies.

Use better-named filehandles (perl prints thier names when it dies).

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Andrew Cooper <Andrew.Cooper3@citrix.com>
Acked-by: Christian Lindig <christian.lindig@citrix.com>
tools/ocaml/libs/xc/abi-check