OSDN Git Service

[libFuzzer] Changing thread_local to __thread in libFuzzer
authorKuba Mracek <mracek@apple.com>
Fri, 21 Apr 2017 17:39:50 +0000 (17:39 +0000)
committerKuba Mracek <mracek@apple.com>
Fri, 21 Apr 2017 17:39:50 +0000 (17:39 +0000)
commit68f048198a62f9b762b27dd604fa151b419cb0c1
tree6dea99dce75abd04d51a69ff253e599c16c07fbc
parent35e1962de3d231b81f3a2b2aed6ad9bc0490f78b
[libFuzzer] Changing thread_local to __thread in libFuzzer

Old Apple compilers do not support thread_local keyword. This patch adds -Dthread_local=__thread when the compiler doesn't support thread_local.

Differential Revision: https://reviews.llvm.org/D32312

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301007 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Fuzzer/CMakeLists.txt