[runtime] Add a python version of the offsets tool. (#14229)
commitc2e540331d54ee6b875dd01f94e040f3888fca10
authorZoltan Varga <vargaz@gmail.com>
Fri, 26 Apr 2019 15:12:24 +0000 (26 11:12 -0400)
committerGitHub <noreply@github.com>
Fri, 26 Apr 2019 15:12:24 +0000 (26 11:12 -0400)
treed8d2e7bf54c25236c7d1f8d49536c63e62f70902
parent5e2069746c7c00d833b233bc0ae8c37afc6d8029
[runtime] Add a python version of the offsets tool. (#14229)

* [runtime] Add a python version of the offsets tool.

This version only depends on python and libclang. It currently only
works on osx.

* [runtime] Add a dummy structure needed by the python version of the offsets tool.

* [offsets-tool-py] Change some argument names for compatibility.

* [wasm] Use the python offsets tool on osx, the c# version is 32 bit, and the 64 bit version doesn't work.

* [wasm] Fix the ordering of mono libraries on the link line.
mono/metadata/metadata-cross-helpers.c
sdks/builds/runtime.mk
sdks/builds/wasm.mk
sdks/wasm/Makefile
sdks/wasm/packager.cs
tools/offsets-tool-py/Makefile [new file with mode: 0644]
tools/offsets-tool-py/README.md [new file with mode: 0644]
tools/offsets-tool-py/offsets-tool.py [new file with mode: 0644]