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

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 7 20:53:14 PST 2019


davidxl added inline comments.


================
Comment at: lib/profile/InstrProfilingPlatformLinux.c:41
 __llvm_profile_data
     __prof_data_sect_data[0] COMPILER_RT_SECTION(INSTR_PROF_DATA_SECT_NAME);
 uint64_t
----------------
When the runtime is linked in but no instrumentation is done, you will need to add a dummy data for order file section here.


Repository:
  rCRT Compiler Runtime

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58997/new/

https://reviews.llvm.org/D58997





More information about the llvm-commits mailing list