diff options
author | Reid Kleckner <reid@kleckner.net> | 2015-04-22 19:37:32 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2015-04-22 19:37:32 +0000 |
commit | 787dc438c9ce4614ed58527a5a41e548de813406 (patch) | |
tree | 31dd0960cd5143edcc031395ee73e5d37fe607c7 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 61ad9d84df57837ac7619430c39a1d2f776f2102 (diff) | |
download | llvm-787dc438c9ce4614ed58527a5a41e548de813406.zip llvm-787dc438c9ce4614ed58527a5a41e548de813406.tar.gz llvm-787dc438c9ce4614ed58527a5a41e548de813406.tar.bz2 |
Set normal LLVM function attributes on global initializer functions
Otherwise -fno-omit-frame-pointer and other flags like it aren't
applied.
Basic idea taken from Gao's patch, thanks!
Differential Revision: http://reviews.llvm.org/D9203
llvm-svn: 235537
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions