aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2016-09-28 12:28:16 +0000
committerDmitry Vyukov <dvyukov@google.com>2016-09-28 12:28:16 +0000
commitb3587836bca51ea61af5a0c685c55d4b7a51450d (patch)
tree335dc10efc06d02156d9e49501bb844de9cc5068 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parentb107a22afbd2a5a07259c56b7ce84450fe7c8783 (diff)
downloadllvm-b3587836bca51ea61af5a0c685c55d4b7a51450d.zip
llvm-b3587836bca51ea61af5a0c685c55d4b7a51450d.tar.gz
llvm-b3587836bca51ea61af5a0c685c55d4b7a51450d.tar.bz2
[ASAN] Pass previous stack information through __sanitizer_finish_switch_fiber
This patch extends __sanitizer_finish_switch_fiber method to optionally return previous stack base and size. This solves the problem of coroutines/fibers library not knowing the original stack context from which the library is used. It's incorrect to assume that such context is always the default stack of current thread (e.g. one such library may be used from a fiber/coroutine created by another library). Bulding a separate stack tracking mechanism would not only duplicate AsanThread, but also require each coroutines/fibers library to integrate with it. Author: Andrii Grynenko (andriigrynenko) Reviewed in: https://reviews.llvm.org/D24628 llvm-svn: 282582
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions