This change includes:
1. Static field layout computation (general purpose enough to cover GC
statics and thread statics)
2. Associated codegen support to generate helpers and calls to helpers
(non-GC, non-thread, non-RVA fields only, with no support for class
constructors and associated semantics)
3. Emission of the non-GC static section into the assembly file
Populating repo with build infrastructure from the corefx project. Scripts are copied verbatim from the corefx repo as of commit 1ee4f60145a851adbacbb16e7b0c65bec3ec0d02.
Only minor changes were done to remove corefx-specific workarounds.
Also integrating the type system into the build.
These files are needed so we have proper line endings (for example, for
bash scripts) and so git would ignore some temporary local folders (for
example, "bin")
These files have been copied from the corefx repo
(https://github.com/dotnet/corefx) based on the commit label
dbb131dcafe570fd93824820797c88eb35609fc7.
Files under src/Native have been copied from
https://github.com/dotnet/corefx/tree/master/src/Native
The root build.sh file has been copied from
https://github.com/dotnet/corefx
Commit label in the corefx repo: dbb131dcafe570fd93824820797c88eb35609fc7
Note:
- Some minor cleanup has been done build.sh, src/Native/CMakeLists.txt
and src/Native/configure.cmake: renamed corefx -> corert, removed
corefx specific parts
- No code builds yet with this change