[PATCH] D10524: Clang/driver: emulated TLS mode.

Chih-Hung Hsieh chh at google.com
Thu Jul 16 20:26:20 PDT 2015


chh updated this revision to Diff 29973.
chh added a comment.
Herald added subscribers: danalbert, tberghammer.

Diff 3 simplified the clang front-end and driver changes:

- Only -femulated-tls and -fno-emulated-tls flags are added. Default is -fno-emulated-tls mode.

- Unit tests are modified to check:
  - C uninitialized global variables are common, but uninitialized thread local variables are not.
  - The -femulated-tls and -fno-emulated-tls flags are passed from clang to cc1.


http://reviews.llvm.org/D10524

Files:
  docs/UsersManual.rst
  include/clang/Driver/Options.td
  include/clang/Frontend/CodeGenOptions.def
  lib/CodeGen/BackendUtil.cpp
  lib/Driver/Tools.cpp
  lib/Frontend/CompilerInvocation.cpp
  test/CodeGen/tls-model.c
  test/CodeGenCXX/cxx11-thread-local.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10524.29973.patch
Type: text/x-patch
Size: 7083 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150717/e1de00cc/attachment.bin>


More information about the llvm-commits mailing list