{"id":84750,"date":"2023-12-15T17:41:08","date_gmt":"2023-12-15T09:41:08","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=84750"},"modified":"2023-12-15T17:41:08","modified_gmt":"2023-12-15T09:41:08","slug":"clang-to-kernel","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/clang-to-kernel.html","title":{"rendered":"\u4e0d\u8d70\u5bfb\u5e38\u8def\u8def\uff1a\u8c37\u6b4c\u4f7f\u7528 Clang \u6784\u5efa\u5185\u6838"},"content":{"rendered":"

\"\"<\/p>\n

\u5728 Linux Plumbers Conference \u4f1a\u8bae\u4e0a\uff0cGoogle \u7684\u5185\u6838\u5f00\u53d1\u8005 Greg Kroah-Hartman \u548c Nick Desaulniers \u4ecb\u7ecd\u4e86\u7528 Clang \u6784\u5efa\u5185\u6838\u7684\u8fdb\u5c55\u3002<\/p>\n

Desaulniers \u79f0\u4eca\u5929\u7684 Android \u7528\u6237\u7a7a\u95f4\u90fd\u7528 Clang \u6784\u5efa\uff0cGoogle \u60f3\u8981\u51cf\u5c11\u5b83\u9700\u8981\u652f\u6301\u7684\u5de5\u5177\u94fe\u6570\u91cf\uff0c\u81f3\u5c11\u5728\u76ee\u524d\u7528 Clang \u6784\u5efa\u5185\u6838\u4e3b\u8981\u5bf9 Google \u6709\u5229\uff0c\u4f46\u6709\u7406\u7531\u76f8\u4fe1\u8fd9\u5bf9\u66f4\u5e7f\u6cdb\u7684\u793e\u533a\u540c\u6837\u6709\u5229\u3002<\/p>\n

Clang \u63d0\u4f9b\u4e86\u4e00\u7ec4\u4e0e GCC \u4e0d\u540c\u7684\u8b66\u544a\uff0c\u66f4\u5c11\u7684 bug \u663e\u7136\u5bf9\u6240\u6709\u5185\u6838\u7528\u6237\u90fd\u6709\u5229\u3002Clang \u8fd8\u80fd\u63d0\u9ad8\u989d\u5916\u7684\u5de5\u5177\uff0c\u5982\u63a7\u5236\u6d41\u5206\u6790\uff0clink-time optimization\uff0c profile-guided optimization\u3002\u7528\u4e0d\u540c\u7684\u7f16\u8bd1\u5668\u6784\u5efa\u4ee3\u7801\u4e5f\u6709\u52a9\u4e8e\u7b5b\u9009\u51fa\u4f9d\u8d56\u4e8e\u672a\u5b9a\u4e49\u884c\u4e3a\u7684\u4ee3\u7801\u3002<\/p>\n

Greg Kroah-Hartman \u79f0\u7ade\u4e89\u5bf9\u6bcf\u4e2a\u4eba\u90fd\u6709\u5229\uff0c\u8fc7\u53bb\u4e94\u5e74 GCC \u5f15\u5165\u7684\u65b0\u7279\u6027\u90fd\u662f\u4e0e LLVM\/Clang \u7ade\u4e89\u7684\u7ed3\u679c\u3002\u4ed6\u5e0c\u671b Linux \u5185\u6838\u4e5f\u6709\u7ade\u4e89\u5bf9\u624b\u3002<\/p>\n

\n

\u539f\u6587\u6765\u81ea\uff1ahttp:\/\/www.solidot.org\/story?sid=54012<\/a><\/p>\n

\u672c\u6587\u5730\u5740\uff1ahttp:\/\/lrxjmw.cn\/clang-to-kernel.html<\/a>\u7f16\u8f91\uff1a\u502a\u5bb6\u5174\uff0c\u5ba1\u6838\u5458\uff1a\u9004\u589e\u5b9d <\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

\u5728 Linux Plumbers Conference \u4f1a\u8bae\u4e0a\uff0cGoogle \u7684\u5185\u6838\u5f00\u53d1\u8005 Greg Kroa […]<\/p>\n","protected":false},"author":362,"featured_media":84752,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-84750","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/84750","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/362"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=84750"}],"version-history":[{"count":2,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/84750\/revisions"}],"predecessor-version":[{"id":84819,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/84750\/revisions\/84819"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/84752"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=84750"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=84750"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=84750"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}