aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Format/WhitespaceManager.cpp
diff options
context:
space:
mode:
authorSergey Matveev <earthdok@google.com>2013-05-29 13:07:42 +0000
committerSergey Matveev <earthdok@google.com>2013-05-29 13:07:42 +0000
commit89bcec811737b69886ad6b0b457950fb917c96c0 (patch)
tree193670422c6cf3a33f2e368cede9f27b81fcebb5 /clang/lib/Format/WhitespaceManager.cpp
parent677003140cc71583656072191a1c2eb80412fa85 (diff)
downloadllvm-89bcec811737b69886ad6b0b457950fb917c96c0.zip
llvm-89bcec811737b69886ad6b0b457950fb917c96c0.tar.gz
llvm-89bcec811737b69886ad6b0b457950fb917c96c0.tar.bz2
[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 'clang/lib/Format/WhitespaceManager.cpp')
0 files changed, 0 insertions, 0 deletions