aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp
diff options
context:
space:
mode:
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>2020-01-27 10:40:14 -0800
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>2020-01-28 13:59:08 -0800
commit4e799ada5860d1029ea89226b9b867302e792251 (patch)
tree29962204554680eaef2136012bb21eb67968e6f1 /llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp
parentc4f6fbe971351273b19a4a819bf6ceae2b70b37e (diff)
downloadllvm-4e799ada5860d1029ea89226b9b867302e792251.zip
llvm-4e799ada5860d1029ea89226b9b867302e792251.tar.gz
llvm-4e799ada5860d1029ea89226b9b867302e792251.tar.bz2
[CodeGen] Attach no-builtin attributes to function definitions with no Decl
When using -fno-builtin[-<name>], we don't attach the IR attributes to function definitions with no Decl, like the ones created through `CreateGlobalInitOrDestructFunction`. This results in projects using -fno-builtin or -ffreestanding to start seeing symbols like _memset_pattern16. The fix changes the behavior to always add the attribute if LangOptions requests it. Differential Revision: https://reviews.llvm.org/D73495
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp')
0 files changed, 0 insertions, 0 deletions