[PATCH] D31345: [XRay] [compiler-rt] Unwriting FDR mode buffers when functions are short.

Keith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 28 14:44:54 PDT 2017


kpw updated this revision to Diff 93304.
kpw edited the summary of this revision.
kpw added a comment.

Using separate AlignedStorage<FunctionRecord> buffers when rewinding over records.

This doesn't violate the strict aliasing rule and since there are separate buffers for
the FunctionEntry and TailExit records, the compiler should be free to optimize for parallelism.


https://reviews.llvm.org/D31345

Files:
  lib/xray/xray_fdr_logging_impl.h
  lib/xray/xray_flags.inc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31345.93304.patch
Type: text/x-patch
Size: 9800 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170328/76e856ae/attachment.bin>


More information about the llvm-commits mailing list