{"id":424,"date":"2010-12-17T06:21:17","date_gmt":"2010-12-16T19:21:17","guid":{"rendered":"http:\/\/blog.mozilla.org\/nnethercote\/?p=424"},"modified":"2010-12-17T06:21:17","modified_gmt":"2010-12-16T19:21:17","slug":"what-is-this-t-3670-function-produced-by-gcc","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/nnethercote\/2010\/12\/17\/what-is-this-t-3670-function-produced-by-gcc\/","title":{"rendered":"What is this T.3670 function produced by GCC?"},"content":{"rendered":"<p>When I do differential profiling with <a href=\"http:\/\/blog.mozilla.org\/nnethercote\/2010\/06\/30\/cg_diff-a-differential-profiling-tool\/\">cg_diff<\/a> I see a lot of entries like this:<\/p>\n<pre>-333,110\u00a0 js\/src\/optg32\/..\/assembler\/assembler\/AssemblerBuffer.h:T.3670\r\n\u00a0333,110\u00a0 js\/src\/optg32\/..\/assembler\/assembler\/AssemblerBuffer.h:T.3703<\/pre>\n<p><code>T.3670<\/code> and <code>T.3703<\/code> are clearly the same function, one which must be auto-generated by GCC but given different randomized suffixes in different builds.\u00a0 These entries are uninteresting and I plan to add an option to cg_diff that allows the user to munge function names with a search-and-replace expression so I can get rid of them.<\/p>\n<p>But I&#8217;d like to know what the are first, so I can talk about them in the cg_diff documentation.\u00a0 Does anybody know?\u00a0 I tried googling, but it&#8217;s a very hard thing to find out with a search engine.\u00a0 (If someone can find something about it with a search engine I&#8217;d love to know what search term you used.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When I do differential profiling with cg_diff I see a lot of entries like this: -333,110\u00a0 js\/src\/optg32\/..\/assembler\/assembler\/AssemblerBuffer.h:T.3670 \u00a0333,110\u00a0 js\/src\/optg32\/..\/assembler\/assembler\/AssemblerBuffer.h:T.3703 T.3670 and T.3703 are clearly the same function, one which must be auto-generated by GCC but given different randomized suffixes in different builds.\u00a0 These entries are uninteresting and I plan to add an option to cg_diff [&hellip;]<\/p>\n","protected":false},"author":139,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/posts\/424"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/users\/139"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/comments?post=424"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/posts\/424\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/media?parent=424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/categories?post=424"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/tags?post=424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}