diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2014-02-26 20:33:22 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2014-02-26 20:33:22 +0000 |
commit | 0fc6894b9ebf39eaf0f06712815c0b705dbc2624 (patch) | |
tree | 7799c19ee9a43a40fa2533d8432c7048301f8845 /lib/asan/asan_thread.cc | |
parent | 16fc5c924d3b984288a689c967dfc2c35ac8bc22 (diff) |
Reapply r201910. MSVC gets __func__ defined explicitly, even though it
can't build anything here.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202297 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_thread.cc')
-rw-r--r-- | lib/asan/asan_thread.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asan/asan_thread.cc b/lib/asan/asan_thread.cc index 897ff2e6c..d4e098ac7 100644 --- a/lib/asan/asan_thread.cc +++ b/lib/asan/asan_thread.cc @@ -79,7 +79,7 @@ AsanThread *AsanThread::Create(thread_callback_t start_routine, void *arg) { uptr PageSize = GetPageSizeCached(); uptr size = RoundUpTo(sizeof(AsanThread), PageSize); - AsanThread *thread = (AsanThread*)MmapOrDie(size, __FUNCTION__); + AsanThread *thread = (AsanThread*)MmapOrDie(size, __func__); thread->start_routine_ = start_routine; thread->arg_ = arg; |