[PATCH] D45633: [XRay] Typed event logging intrinsic
Keith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 13 11:29:29 PDT 2018
kpw created this revision.
kpw added reviewers: dberris, pelikan, eizan, rSerge, timshen.
Add an LLVM intrinsic for type discriminated event logging with XRay.
Similar to the existing intrinsic for custom events, but also accepts
a type tag argument to allow plugins to be aware of different types
and semantically interpret logged events they know about without
choking on those they don't.
Relies on a symbol defined in compiler-rt patch https://reviews.llvm.org/D43668. I may wait
to submit before I can see demo everything working together including
a still to come clang patch.
Repository:
rL LLVM
https://reviews.llvm.org/D45633
Files:
include/llvm/CodeGen/AsmPrinter.h
include/llvm/CodeGen/FastISel.h
include/llvm/CodeGen/TargetLowering.h
include/llvm/IR/Intrinsics.td
include/llvm/Support/TargetOpcodes.def
include/llvm/Target/Target.td
lib/CodeGen/SelectionDAG/FastISel.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/CodeGen/TargetLoweringBase.cpp
lib/Target/X86/X86AsmPrinter.h
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86MCInstLower.cpp
test/CodeGen/X86/xray-typed-event-log.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45633.142446.patch
Type: text/x-patch
Size: 17805 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180413/2fa702fd/attachment.bin>
More information about the llvm-commits
mailing list