{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corert/issues/6432","repository_url":"https://api.github.com/repos/dotnet/corert","labels_url":"https://api.github.com/repos/dotnet/corert/issues/6432/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corert/issues/6432/comments","events_url":"https://api.github.com/repos/dotnet/corert/issues/6432/events","html_url":"https://github.com/dotnet/corert/pull/6432","id":367755975,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxMDkwNzcw","number":6432,"title":"Fix asm.js struct and alignment issues","user":{"login":"morganbr","id":11641665,"node_id":"MDQ6VXNlcjExNjQxNjY1","avatar_url":"https://avatars1.githubusercontent.com/u/11641665?v=4","gravatar_id":"","url":"https://api.github.com/users/morganbr","html_url":"https://github.com/morganbr","followers_url":"https://api.github.com/users/morganbr/followers","following_url":"https://api.github.com/users/morganbr/following{/other_user}","gists_url":"https://api.github.com/users/morganbr/gists{/gist_id}","starred_url":"https://api.github.com/users/morganbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morganbr/subscriptions","organizations_url":"https://api.github.com/users/morganbr/orgs","repos_url":"https://api.github.com/users/morganbr/repos","events_url":"https://api.github.com/users/morganbr/events{/privacy}","received_events_url":"https://api.github.com/users/morganbr/received_events","type":"User","site_admin":false},"labels":[{"id":689794855,"node_id":"MDU6TGFiZWw2ODk3OTQ4NTU=","url":"https://api.github.com/repos/dotnet/corert/labels/arch-wasm","name":"arch-wasm","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-08T11:57:46Z","updated_at":"2018-10-08T22:06:42Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/dotnet/corert/pulls/6432","html_url":"https://github.com/dotnet/corert/pull/6432","diff_url":"https://github.com/dotnet/corert/pull/6432.diff","patch_url":"https://github.com/dotnet/corert/pull/6432.patch"},"body":"Asm.js does aligned memory accesses unless forced to do otherwise. This causes occasional memory corruption on various structures that aren't 4-byte aligned (two of which get used in interface dispatch). To handle that, this change:\r\n1. Changes the LLVM representation of managed structs to approximately match the managed representation. This fixes DispatchMapEntry, which is 3 uint16s that can be 2-byte aligned.\r\n2. Annotates an unaligned read used by OptionalFields so the compiler can handle it."},"comment":{"url":"https://api.github.com/repos/dotnet/corert/issues/comments/427994491","html_url":"https://github.com/dotnet/corert/pull/6432#issuecomment-427994491","issue_url":"https://api.github.com/repos/dotnet/corert/issues/6432","id":427994491,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzk5NDQ5MQ==","user":{"login":"morganbr","id":11641665,"node_id":"MDQ6VXNlcjExNjQxNjY1","avatar_url":"https://avatars1.githubusercontent.com/u/11641665?v=4","gravatar_id":"","url":"https://api.github.com/users/morganbr","html_url":"https://github.com/morganbr","followers_url":"https://api.github.com/users/morganbr/followers","following_url":"https://api.github.com/users/morganbr/following{/other_user}","gists_url":"https://api.github.com/users/morganbr/gists{/gist_id}","starred_url":"https://api.github.com/users/morganbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morganbr/subscriptions","organizations_url":"https://api.github.com/users/morganbr/orgs","repos_url":"https://api.github.com/users/morganbr/repos","events_url":"https://api.github.com/users/morganbr/events{/privacy}","received_events_url":"https://api.github.com/users/morganbr/received_events","type":"User","site_admin":false},"created_at":"2018-10-08T22:06:42Z","updated_at":"2018-10-08T22:06:42Z","author_association":"CONTRIBUTOR","body":"@dotnet-bot test Windows_NT_Wasm Debug and CoreCLR tests WebAssembly\r\n@dotnet-bot test OSX10.12 Debug and CoreCLR tests\r\n@dotnet-bot test OSX10.12 Release"}}
{"actor":{"display_login":"morganbr"}}