[PATCH] D58997: Order File Instrumentation: dump the data in compiler-rt (Make it work for Linux/Windows etc)

Manman Ren via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 5 14:18:06 PST 2019


manmanren created this revision.
manmanren added reviewers: davidxl, ormris, rnk, vsk.
Herald added subscribers: Sanitizers, llvm-commits, jdoerfert, dberris.
Herald added projects: LLVM, Sanitizers.

The diff D57530 <https://reviews.llvm.org/D57530> was accepted and I landed it as r355343. It works fine for Darwin, but caused build breakages for Linux/Windows etc.
This diff adds support for these platforms.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D58997

Files:
  lib/profile/InstrProfData.inc
  lib/profile/InstrProfiling.h
  lib/profile/InstrProfilingFile.c
  lib/profile/InstrProfilingPlatformDarwin.c
  lib/profile/InstrProfilingPlatformLinux.c
  lib/profile/InstrProfilingPlatformOther.c
  lib/profile/InstrProfilingPlatformWindows.c
  test/profile/Inputs/instrprof-order-file-2.c
  test/profile/Inputs/instrprof-order-file.c
  test/profile/instrprof-order-file.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58997.189398.patch
Type: text/x-patch
Size: 11306 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190305/728d4977/attachment.bin>


More information about the llvm-commits mailing list