diff options
| author | Sergey Matveev <earthdok@google.com> | 2013-05-29 13:07:42 +0000 |
|---|---|---|
| committer | Sergey Matveev <earthdok@google.com> | 2013-05-29 13:07:42 +0000 |
| commit | 89bcec811737b69886ad6b0b457950fb917c96c0 (patch) | |
| tree | 193670422c6cf3a33f2e368cede9f27b81fcebb5 /compiler-rt/lib/asan/lit_tests/global-overflow.cc | |
| parent | 677003140cc71583656072191a1c2eb80412fa85 (diff) | |
| download | bcm5719-llvm-89bcec811737b69886ad6b0b457950fb917c96c0.tar.gz bcm5719-llvm-89bcec811737b69886ad6b0b457950fb917c96c0.zip | |
[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.
llvm-svn: 182853
Diffstat (limited to 'compiler-rt/lib/asan/lit_tests/global-overflow.cc')
0 files changed, 0 insertions, 0 deletions

