xiaoxiang781216 commented on code in PR #14877:
URL: https://github.com/apache/nuttx/pull/14877#discussion_r1850234213


##########
libs/libbuiltin/compiler-rt/coverage.c:
##########
@@ -353,3 +354,14 @@ size_t __llvm_profile_dump(const char *path)
 
 #endif
 }
+
+void __gcov_dump(void)
+{
+  char *path = getenv("GCOV_PREFIX");
+  __llvm_profile_dump(path);
+}
+
+void __gcov_reset(void)
+{
+  assert(0);

Review Comment:
   why assert



##########
libs/libbuiltin/compiler-rt/coverage.c:
##########
@@ -26,6 +26,7 @@
 
 #include <nuttx/compiler.h>
 
+#include <assert.h>

Review Comment:
   remove



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to