]> granicus.if.org Git - clang/commit
Make -fno-inline attach NoInline attribute to all functions that are not
authorRoman Divacky <rdivacky@freebsd.org>
Wed, 15 Jan 2014 19:07:16 +0000 (19:07 +0000)
committerRoman Divacky <rdivacky@freebsd.org>
Wed, 15 Jan 2014 19:07:16 +0000 (19:07 +0000)
commit93de7bb38c1c57f8b8bafcb697bb5030793a9d6c
tree0034a560ba83bec3ffb5c36540ebab271788baa7
parent2ff5a1edc04d447e0360c4e4ce92e0803c6b0e3a
Make -fno-inline attach NoInline attribute to all functions that are not
marked as AlwaysInline or ForceInline.

This moves us to what gcc does with -fno-inline. The attribute approach
was discussed to be better than switching to InlineAlways inliner in presence
of LTO.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199324 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenFunction.cpp
test/CodeGen/noinline.c