aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2013-05-24 20:18:15 +0000
committerDiego Novillo <dnovillo@google.com>2013-05-24 20:18:15 +0000
commit5f2b1ce21ecdacdd5d16a63fd880199befe3d074 (patch)
treef06917bc3f69a8cfe4691f7be128c9f8a9a3c0b2 /llvm/lib/Object/ELFObjectFile.cpp
parent23bbd617e46ac1c12277ac073cc49a6b6290c684 (diff)
downloadllvm-5f2b1ce21ecdacdd5d16a63fd880199befe3d074.zip
llvm-5f2b1ce21ecdacdd5d16a63fd880199befe3d074.tar.gz
llvm-5f2b1ce21ecdacdd5d16a63fd880199befe3d074.tar.bz2
[PATCH] Generate cold attribute for functions marked __atribute__((cold))
This removes a FIXME in CodeGenModule::SetLLVMFunctionAttributesForDefinition. When a function is declared cold we can now generate the IR attribute in addition to marking the function to be optimized for size. I tried adding a separate CHECK in the existing test, but it was failing. I suppose CHECK matches one line exactly once? This would be a problem if the attributes are listed in a different order, though they seem to be sorted. llvm-svn: 182666
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions