aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/Orc/ThreadSafeModule.cpp
diff options
context:
space:
mode:
authorAditya Kumar <1894981+hiraditya@users.noreply.github.com>2020-08-12 22:11:50 -0700
committerAditya Kumar <1894981+hiraditya@users.noreply.github.com>2020-08-13 09:28:04 -0700
commitd54f5979bb829e3864016798cc1cb5eecf39c4e0 (patch)
treefd40438678be767c0dff45ffc40b9e383ac7ab1a /llvm/lib/ExecutionEngine/Orc/ThreadSafeModule.cpp
parent11446b02c7ec258a55de0259c3447d9ce5d5ac63 (diff)
downloadllvm-d54f5979bb829e3864016798cc1cb5eecf39c4e0.zip
llvm-d54f5979bb829e3864016798cc1cb5eecf39c4e0.tar.gz
llvm-d54f5979bb829e3864016798cc1cb5eecf39c4e0.tar.bz2
Add cold attribute to one time construction APIs
_cxa_guard_acquire is used for only one purpose, namely guarding local static variable initialization, and since that purpose is definitionally cold, it should be attributed as cold Reviewed By: ldionne Reviewers: mclow.lists, ldionne, jfb, yfeldblum Differential Revision: https://reviews.llvm.org/D85873
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/ThreadSafeModule.cpp')
0 files changed, 0 insertions, 0 deletions