https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112829
--- Comment #2 from Alexander Zaitsev <zamazan4ik at tut dot by> --- Am I right that right now in GCC there are no ready-to-use alternatives to "int __llvm_profile_write_buffer(char *Buffer)" from LLVM and it should be implemented somehow manually (as you described)?