This abstracts away the file descriptor related logic which makes it
easier to port XRay to platform that don't use file descriptors or
file system for writing the log data, such as Fuchsia.
Details
Details
Diff Detail
Diff Detail
- Repository
- rCRT Compiler Runtime
Event Timeline
compiler-rt/lib/xray/xray_utils.cc | ||
---|---|---|
89–90 | Is it possible to avoid using InternalAlloc and InternalFree here, and instead use the XRay-specific allocators in xray_allocator.h (allocate<T>(...) and deallocate(...))? |
compiler-rt/lib/xray/xray_utils.cc | ||
---|---|---|
89–90 | Marked done but I don't see the changes -- I still see InternalAlloc and InternalFree? |
compiler-rt/lib/xray/xray_utils.cc | ||
---|---|---|
89–90 | I accidentally reuploaded the old patch, sorry about that. |
Is it possible to avoid using InternalAlloc and InternalFree here, and instead use the XRay-specific allocators in xray_allocator.h (allocate<T>(...) and deallocate(...))?