aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorDean Michael Berris <dberris@google.com>2016-12-06 06:24:08 +0000
committerDean Michael Berris <dberris@google.com>2016-12-06 06:24:08 +0000
commitabe04e3295450afd1b9e03a1b91cf87ee3725780 (patch)
tree898d4263d7e5b839ce2eb1559092b12231dc53a5 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent8b058aec1d9499015e4a3fd2e5a503273a5d384b (diff)
downloadllvm-abe04e3295450afd1b9e03a1b91cf87ee3725780.zip
llvm-abe04e3295450afd1b9e03a1b91cf87ee3725780.tar.gz
llvm-abe04e3295450afd1b9e03a1b91cf87ee3725780.tar.bz2
[XRay][compiler-rt] XRay Buffer Queue
This implements a simple buffer queue to manage a pre-allocated queue of fixed-sized buffers to hold XRay records. We need this to support Flight Data Recorder (FDR) mode. We also implement this as a sub-library first to allow for development before actually using it in an implementation. Some important properties of the buffer queue: - Thread-safe enqueueing/dequeueing of fixed-size buffers. - Pre-allocation of buffers at construction. This is a re-roll of the previous attempt to submit, because it caused failures in arm and aarch64. Reviewers: majnemer, echristo, rSerge Subscribers: tberghammer, danalbert, srhines, modocache, mehdi_amini, mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D26232 llvm-svn: 288775
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions