diff options
author | Michal Strehovský <michals@microsoft.com> | 2015-11-05 00:11:47 +0300 |
---|---|---|
committer | Michal Strehovský <michals@microsoft.com> | 2015-11-06 05:49:00 +0300 |
commit | 7f36652397dabc6e4de27269f8ea9bf5d734ecb7 (patch) | |
tree | 2575e88b176b7c7837aae1c4496cb726321299b8 /src/JitInterface | |
parent | a9124b6a1d2bf16423c2af5c45878f101740faee (diff) |
Get Hello World working on Linux
Final set of fixes to get Hello World running on Linux:
* Pretend thread static fields are not thread static. It's not like we
support threading at this point anyway. I filed issue #209 tracking
this.
* Fix up Platform.Linux.cpp. The previous implementation didn't really
work. This one will, for English only...
* Report offset of objData to codegen (this short comment doesn't
express how awful it was to debug this).
Diffstat (limited to 'src/JitInterface')
-rw-r--r-- | src/JitInterface/src/CorInfoImpl.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/JitInterface/src/CorInfoImpl.cs b/src/JitInterface/src/CorInfoImpl.cs index 287aef4a1..3ef4f1e61 100644 --- a/src/JitInterface/src/CorInfoImpl.cs +++ b/src/JitInterface/src/CorInfoImpl.cs @@ -1298,6 +1298,8 @@ namespace Internal.JitInterface pEEInfoOut.offsetOfDelegateInstance = (uint)pointerSize; // Delegate::m_firstParameter pEEInfoOut.offsetOfDelegateFirstTarget = (uint)(4 * pointerSize); // Delegate::m_functionPointer + + pEEInfoOut.offsetOfObjArrayData = (uint)(2 * pointerSize); } [return: MarshalAs(UnmanagedType.LPWStr)] |