[PATCH] D66323: [Fuchsia] Create the VMO during initialization, not during exit

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 15 16:50:25 PDT 2019


phosek created this revision.
phosek added a reviewer: mcgrathr.
Herald added projects: LLVM, Sanitizers.
Herald added subscribers: llvm-commits, Sanitizers.

We want to avoid doing expensive work during atexit since the process
might be terminated before we can publish the VMO and write out the
symbolizer markup, so move the VMO creation to the initialization
phase and only write data during the atexit phase.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D66323

Files:
  compiler-rt/lib/profile/InstrProfilingPlatformFuchsia.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66323.215509.patch
Type: text/x-patch
Size: 4338 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190815/02d49b5d/attachment.bin>


More information about the llvm-commits mailing list