summaryrefslogtreecommitdiffstats
path: root/library/cpp
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2025-09-29 11:24:35 +0300
committerrobot-piglet <[email protected]>2025-09-29 11:41:49 +0300
commit9c94a568457b8efdfbb839ded32e4abfdb95f57d (patch)
tree0f5cceaf2e16df3f7934744ac5c16f2d02539628 /library/cpp
parent6309692217a6263689b19cb6932311ed4b7f8457 (diff)
Intermediate changes
commit_hash:f8e0668b6081ec86f6dc0d0786a0d6ddcb39bb26
Diffstat (limited to 'library/cpp')
-rw-r--r--library/cpp/testing/dump_clang_coverage/write_profile_data.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/library/cpp/testing/dump_clang_coverage/write_profile_data.cpp b/library/cpp/testing/dump_clang_coverage/write_profile_data.cpp
index 13d3f918c7b..2469440b1c0 100644
--- a/library/cpp/testing/dump_clang_coverage/write_profile_data.cpp
+++ b/library/cpp/testing/dump_clang_coverage/write_profile_data.cpp
@@ -1,6 +1,5 @@
#include <dlfcn.h>
#include <linux/limits.h>
-#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
@@ -120,12 +119,8 @@ void __attribute__((constructor)) premain() {
__llvm_profile_initialize_file();
int rc = __llvm_profile_write_file();
if (!rc && getenv("YA_COVERAGE_DUMP_PROFILE_EXIT_CODE")) {
- if (const char* token = getenv("YA_COVERAGE_DUMP_PROFILE_RELIABILITY_TOKEN")) {
- fprintf(stdout, "%s", token);
- fflush(stdout);
- }
rc = atoi(getenv("YA_COVERAGE_DUMP_PROFILE_EXIT_CODE"));
}
- exit(rc);
+ _Exit(rc);
}
}