[PATCH] D62541: Adding a function for setting coverage output file.

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 28 13:28:13 PDT 2019


davidxl added a comment.

There should be a test case.



================
Comment at: compiler-rt/lib/profile/InstrProfiling.h:161
 
+void __llvm_profile_set_file_object(FILE *File);
+
----------------
Document this interface. Also mention that when file descriptor is provided by the client, profiling runtime won't perform profile merging.

With this, the profile file name specified by either environment variable or command line will be ignored, so it should be documented.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D62541





More information about the llvm-commits mailing list