| commit | 4c086441ff9d06e53fa941671781008d453dba49 | [log] [tgz] |
|---|---|---|
| author | Sergey Matveev <earthdok@google.com> | Wed May 29 13:07:42 2013 +0000 |
| committer | Sergey Matveev <earthdok@google.com> | Wed May 29 13:07:42 2013 +0000 |
| tree | 7b481b4518c4c365e370456aad6627ee07b7a6b4 | |
| parent | 512c616cacf70ca029a2bf719a482b902f3687cd [diff] |
[sanitizer] Change the way GetThreadStackAndTls() obtains the thread descriptor address. Instead of using arch_prctl(ARCH_GET_FS), read the address from the tread descriptor itself. This lets us avoid sandboxing issues. Also, GetThreadStackAndTls() can now be implemented on i386. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182853 91177308-0d34-0410-b5e6-96231b3b80d8