Add -femulated-tls flag to select the emulated TLS model.
This will be used for old targets like Android that do not support ELF TLS models. Differential Revision: http://reviews.llvm.org/D10524 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@243441 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- docs/UsersManual.rst 7 additions, 0 deletionsdocs/UsersManual.rst
- include/clang/Driver/Options.td 3 additions, 0 deletionsinclude/clang/Driver/Options.td
- include/clang/Frontend/CodeGenOptions.def 1 addition, 0 deletionsinclude/clang/Frontend/CodeGenOptions.def
- lib/CodeGen/BackendUtil.cpp 1 addition, 0 deletionslib/CodeGen/BackendUtil.cpp
- lib/Driver/Tools.cpp 6 additions, 0 deletionslib/Driver/Tools.cpp
- lib/Frontend/CompilerInvocation.cpp 3 additions, 0 deletionslib/Frontend/CompilerInvocation.cpp
- test/CodeGen/tls-model.c 16 additions, 0 deletionstest/CodeGen/tls-model.c
- test/CodeGenCXX/cxx11-thread-local.cpp 2 additions, 0 deletionstest/CodeGenCXX/cxx11-thread-local.cpp
Loading
Please register or sign in to comment