[PATCH] D38606: [CodeGen] Emit a helper function for __builtin_os_log_format to reduce code size

Akira Hatanaka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 5 23:35:26 PDT 2017


ahatanak updated this revision to Diff 117955.
ahatanak added a comment.

Always mark the helper function as linkonce_odr and hidden.


https://reviews.llvm.org/D38606

Files:
  lib/CodeGen/CGBuiltin.cpp
  lib/CodeGen/CodeGenFunction.h
  test/CodeGen/builtins.c
  test/CodeGenObjC/os_log.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38606.117955.patch
Type: text/x-patch
Size: 46831 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171006/69de3a1e/attachment-0001.bin>


More information about the cfe-commits mailing list