projects
/
platform
/
core
/
system
/
modes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2a77b2
)
apply gcov_dump
accepted/tizen_unified
tizen
accepted/tizen/unified/20241122.171514
author
Youngjae Shin
<yj99.shin@samsung.com>
Thu, 21 Nov 2024 02:43:23 +0000
(11:43 +0900)
committer
Youngjae Shin
<yj99.shin@samsung.com>
Thu, 21 Nov 2024 02:47:54 +0000
(11:47 +0900)
supervisor/RequestHandler.cpp
patch
|
blob
|
history
diff --git
a/supervisor/RequestHandler.cpp
b/supervisor/RequestHandler.cpp
index c400ce3724c7b60b751e8a92c6b091f7d0048417..d56f248ec45c77e59dd5df9ced4f068395177d11 100644
(file)
--- a/
supervisor/RequestHandler.cpp
+++ b/
supervisor/RequestHandler.cpp
@@
-18,6
+18,15
@@
#ifdef TIZEN_TEST_GCOV
extern "C" {
#include <gcov.h>
+
+#if (defined(__GNUC__) && ((__GNUC__ == 11 && __GNUC_MINOR__ >= 1) || (__GNUC__ >= 12))) \
+ || (defined(__clang__) && (__clang_major__ >= 12))
+#define __gcov_flush() \
+ do { \
+ __gcov_dump(); \
+ __gcov_reset(); \
+ } while (0)
+#endif
}
#endif
#include "ClientPrivilege.h"