summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2018-02-28 17:48:55 +0000
committerChih-Hung Hsieh <chh@google.com>2018-02-28 17:48:55 +0000
commit9f9e4681ace64e6200f82d9d7f011701fd4e9cc8 (patch)
tree85cd726554c7030c6168567b5af93507d6996032 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp
parent29abfe4a8fe08bdd2f1c3b9e139a4547eb9261cc (diff)
downloadbcm5719-llvm-9f9e4681ace64e6200f82d9d7f011701fd4e9cc8.tar.gz
bcm5719-llvm-9f9e4681ace64e6200f82d9d7f011701fd4e9cc8.zip
[TLS] use emulated TLS if the target supports only this mode
Emulated TLS is enabled by llc flag -emulated-tls, which is passed by clang driver. When llc is called explicitly or from other drivers like LTO, missing -emulated-tls flag would generate wrong TLS code for targets that supports only this mode. Now use useEmulatedTLS() instead of Options.EmulatedTLS to decide whether emulated TLS code should be generated. Unit tests are modified to run with and without the -emulated-tls flag. Differential Revision: https://reviews.llvm.org/D42999 llvm-svn: 326341
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud