diff options
author | Chuang-Yu Cheng <cycheng@multicorewareinc.com> | 2016-04-20 10:28:41 +0000 |
---|---|---|
committer | Chuang-Yu Cheng <cycheng@multicorewareinc.com> | 2016-04-20 10:28:41 +0000 |
commit | e480455fd6bd3c69177613a146cc88c8117ce579 (patch) | |
tree | f7e1802dbeb89cf4b4e972c8d4f37f629629963d /lldb/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py | |
parent | 71630b9ea7ce151305e89f305dc02613bc5b0023 (diff) | |
download | bcm5719-llvm-e480455fd6bd3c69177613a146cc88c8117ce579.tar.gz bcm5719-llvm-e480455fd6bd3c69177613a146cc88c8117ce579.zip |
Always inlining PrintCurrentStackSlow of tsan library to fix tail-call issue
The real problem is that sanitizer_print_stack_trace obtains current PC and
expects the PC to be in the stack trace after function calls. We don't
prevent tail calls in sanitizer runtimes, so this assumption does not
necessary hold.
We add "always inline" attribute on PrintCurrentStackSlow to address this
issue, however this solution is not reliable enough, but unfortunately, we
don't see any simple, reliable solution.
Reviewers: samsonov hfinkel kbarton tjablin dvyukov kcc
http://reviews.llvm.org/D19148
Thanks Hal, dvyukov, and kcc for invaluable discussion, I have even borrowed
part of dvyukov's summary as my commit message!
llvm-svn: 266869
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py')
0 files changed, 0 insertions, 0 deletions