{"action":"created","issue":{"url":"https://api.github.com/repos/D-Programming-GDC/GDC/issues/505","repository_url":"https://api.github.com/repos/D-Programming-GDC/GDC","labels_url":"https://api.github.com/repos/D-Programming-GDC/GDC/issues/505/labels{/name}","comments_url":"https://api.github.com/repos/D-Programming-GDC/GDC/issues/505/comments","events_url":"https://api.github.com/repos/D-Programming-GDC/GDC/issues/505/events","html_url":"https://github.com/D-Programming-GDC/GDC/pull/505","id":238391761,"number":505,"title":"Put the TypeInfo name field into a static var.","user":{"login":"ibuclaw","id":397929,"avatar_url":"https://avatars0.githubusercontent.com/u/397929?v=3","gravatar_id":"","url":"https://api.github.com/users/ibuclaw","html_url":"https://github.com/ibuclaw","followers_url":"https://api.github.com/users/ibuclaw/followers","following_url":"https://api.github.com/users/ibuclaw/following{/other_user}","gists_url":"https://api.github.com/users/ibuclaw/gists{/gist_id}","starred_url":"https://api.github.com/users/ibuclaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibuclaw/subscriptions","organizations_url":"https://api.github.com/users/ibuclaw/orgs","repos_url":"https://api.github.com/users/ibuclaw/repos","events_url":"https://api.github.com/users/ibuclaw/events{/privacy}","received_events_url":"https://api.github.com/users/ibuclaw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-06-25T16:47:36Z","updated_at":"2017-06-26T14:57:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/D-Programming-GDC/GDC/pulls/505","html_url":"https://github.com/D-Programming-GDC/GDC/pull/505","diff_url":"https://github.com/D-Programming-GDC/GDC/pull/505.diff","patch_url":"https://github.com/D-Programming-GDC/GDC/pull/505.patch"},"body":"Using https://issues.dlang.org/show_bug.cgi?id=14758 with the compiler switches:\r\n```\r\n$ gdc test.d object.d -fno-moduleinfo -Wl,--gc-sections -fdata-sections -ffunction-sections -nophoboslib -nostdlib -o test -Os\r\n```\r\n\r\nBefore:\r\n```\r\n$ objdump -s -j .rodata a.out \r\n\r\ntest:     file format elf64-x86-64\r\n\r\nContents of section .rodata:\r\n 40065d 74657374 2e546573 74436c61 73733100  test.TestClass1.\r\n 40066d 74657374 2e546573 74436c61 73733200  test.TestClass2.\r\n 40067d 74657374 2e546573 74436c61 73733300  test.TestClass3.\r\n 40068d 74657374 2e546573 74436c61 73733400  test.TestClass4.\r\n 40069d 74657374 2e546573 74436c61 73733500  test.TestClass5.\r\n 4006ad 74657374 2e546573 74436c61 73733600  test.TestClass6.\r\n 4006bd 74657374 2e546573 74436c61 73733700  test.TestClass7.\r\n 4006cd 74657374 2e546573 74436c61 73733800  test.TestClass8.\r\n 4006dd 74657374 2e546573 74436c61 73733900  test.TestClass9.\r\n 4006ed 48656c6c 6f0a00                      Hello..         \r\n```\r\nAfter:\r\n```\r\n$ objdump -s -j .rodata test\r\n\r\ntest:     file format elf64-x86-64\r\n\r\nContents of section .rodata:\r\n 40010e 48656c6c 6f0a00                      Hello..   \r\n```\r\n\r\n@JinShil ^^"},"comment":{"url":"https://api.github.com/repos/D-Programming-GDC/GDC/issues/comments/311084651","html_url":"https://github.com/D-Programming-GDC/GDC/pull/505#issuecomment-311084651","issue_url":"https://api.github.com/repos/D-Programming-GDC/GDC/issues/505","id":311084651,"user":{"login":"jpf91","id":583238,"avatar_url":"https://avatars1.githubusercontent.com/u/583238?v=3","gravatar_id":"","url":"https://api.github.com/users/jpf91","html_url":"https://github.com/jpf91","followers_url":"https://api.github.com/users/jpf91/followers","following_url":"https://api.github.com/users/jpf91/following{/other_user}","gists_url":"https://api.github.com/users/jpf91/gists{/gist_id}","starred_url":"https://api.github.com/users/jpf91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpf91/subscriptions","organizations_url":"https://api.github.com/users/jpf91/orgs","repos_url":"https://api.github.com/users/jpf91/repos","events_url":"https://api.github.com/users/jpf91/events{/privacy}","received_events_url":"https://api.github.com/users/jpf91/received_events","type":"User","site_admin":false},"created_at":"2017-06-26T14:57:58Z","updated_at":"2017-06-26T14:57:58Z","body":"In case you have some ASM code you could be affected by this if your GDC code is not very recent:\r\nhttps://github.com/D-Programming-GDC/GDC/pull/504"}}
{"actor":{"display_login":"jpf91"}}