diff options
author | Dean Michael Berris <dberris@google.com> | 2017-09-12 01:37:59 +0000 |
---|---|---|
committer | Dean Michael Berris <dberris@google.com> | 2017-09-12 01:37:59 +0000 |
commit | d56b90fb4c637cef59f64bd18ea2710fb861427b (patch) | |
tree | de7c335418c451b842b02b3a77627943c3ff3c89 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 66e4ace1c82f04e11d4ea2242e38118347bd831a (diff) | |
download | bcm5719-llvm-d56b90fb4c637cef59f64bd18ea2710fb861427b.tar.gz bcm5719-llvm-d56b90fb4c637cef59f64bd18ea2710fb861427b.zip |
[XRay][compiler-rt] Use a single global volatile recursion guard for FDR handlers
Summary:
Before this change, the recursion guard for the flight data recorder
(FDR) mode handlers were independent. This change makes it so that when
a handler is already in the process of running and somehow the same or
another handler starts running -- say in a signal handler, while the
XRay handler is executing -- then we can use the same thread-local
recursion guard to stop the second handler from running.
Reviewers: kpw, eizan
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D37612
llvm-svn: 312992
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions