This is an archive of the discontinued LLVM Phabricator instance.

[XRay][compiler-rt] Remove uses of internal allocator in profiling mode
ClosedPublic

Authored by dberris on Aug 26 2018, 10:12 PM.

Details

Summary

This change removes further cases where the profiling mode
implementation relied on dynamic memory allocation. We're using
thread-local aligned (uninitialized) memory instead, which we initialize
appropriately with placement new.

Addresses llvm.org/PR38577.

Diff Detail

Repository
rL LLVM

Event Timeline

dberris created this revision.Aug 26 2018, 10:12 PM
This revision was not accepted when it landed; it landed in state Needs Review.Aug 28 2018, 3:42 AM
This revision was automatically updated to reflect the committed changes.