[PATCH] D69137: [profile] Do not cache __llvm_profile_get_filename result

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 17 16:21:46 PDT 2019


vsk added a comment.

In D69137#1713779 <https://reviews.llvm.org/D69137#1713779>, @davidxl wrote:

> I see.
>
>   Even without the patch, I saw two different files are created with %m. How is the bug triggered?


An internal adopter is making use of the libprofile APIs to dump profile data when a message is received in a server. I'm not sure what the exact API usage looks like (why not just call __llvm_profile_dump directly?). Perhaps the filename is used for logging.


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

https://reviews.llvm.org/D69137





More information about the llvm-commits mailing list