[PATCH] D31385: [XRay] Update FDR log reader to be aware of buffer sizes per thread.
Keith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 28 18:44:28 PDT 2017
kpw marked 3 inline comments as done.
kpw added inline comments.
================
Comment at: lib/XRay/Trace.cpp:376-377
+ std::memcpy(&BufferSize, &FileHeader.FreeFormData, sizeof(uint64_t));
+ FDRState State{0, 0, 0, FDRState::Token::NEW_BUFFER_RECORD_OR_EOF,
+ BufferSize, 0};
// RecordSize will tell the loop how far to seek ahead based on the record
----------------
dberris wrote:
> Did clang-format do this?
Unfortunately yes.
https://reviews.llvm.org/D31385
More information about the llvm-commits
mailing list