[PATCH] D53102: Support for the mno-tls-direct-seg-refs flag
Ruslan Nikolaev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 10 11:57:49 PDT 2018
nruslan created this revision.
nruslan added reviewers: hans, craig.topper.
Herald added a subscriber: cfe-commits.
Allows to disable direct TLS segment access (%fs or %gs). GCC supports a similar flag, it can be useful in some circumstances, e.g. when a thread context block needs to be updated directly from user space. More info and specific use cases: https://bugs.llvm.org/show_bug.cgi?id=16145
There is another revision for LLVM as well.
Repository:
rC Clang
https://reviews.llvm.org/D53102
Files:
docs/ClangCommandLineReference.rst
include/clang/Driver/CC1Options.td
include/clang/Driver/Options.td
include/clang/Frontend/CodeGenOptions.def
lib/CodeGen/CGCall.cpp
lib/Driver/ToolChains/Clang.cpp
lib/Frontend/CompilerInvocation.cpp
test/CodeGen/indirect-tls-seg-refs.c
test/Driver/indirect-tls-seg-refs.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53102.169063.patch
Type: text/x-patch
Size: 6115 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181010/981f69ab/attachment.bin>
More information about the cfe-commits
mailing list