[msandr] Access app TLS directly in native exec mode.
commit17bb1263394deff8511df1c0c5763e19b6be0999
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Mon, 20 Jan 2014 13:09:29 +0000 (20 13:09 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Mon, 20 Jan 2014 13:09:29 +0000 (20 13:09 +0000)
tree5f35f8dfb56c4e14c7d87665ef4842b7ee2b32f2
parent5e2e8bc2c42503d3f0009b50c3c55cc38d4d9e30
[msandr] Access app TLS directly in native exec mode.

In optimized hybrid execution we do not use DynamoRIO private loader, which
mangles TLS access, so we can access the application's TLS directly.

Patch by Qin Zhao.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@199655 91177308-0d34-0410-b5e6-96231b3b80d8
lib/msandr/msandr.cc