mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-01 00:28:18 +00:00
test/security_manager_sc: use newer clang __gcov_dump instead of __gcov_flush
This commit is contained in:
parent
1e83575a3b
commit
a63d252824
@ -54,10 +54,6 @@
|
||||
#include "btp.h"
|
||||
#include "btp_socket.h"
|
||||
|
||||
#ifdef COVERAGE
|
||||
#include <dlfcn.h>
|
||||
#endif
|
||||
|
||||
#define AUTOPTS_SOCKET_NAME "/tmp/bt-stack-tester"
|
||||
|
||||
#define BT_LE_AD_LIMITED (1U << 0)
|
||||
|
@ -64,8 +64,8 @@
|
||||
#include "btstack_stdin.h"
|
||||
|
||||
#ifdef COVERAGE
|
||||
// guesswork:
|
||||
void __gcov_flush(void);
|
||||
void __gcov_dump(void);
|
||||
void __gcov_reset(void);
|
||||
#endif
|
||||
|
||||
#define HEARTBEAT_PERIOD_MS 1000
|
||||
@ -458,7 +458,8 @@ static void stdin_process(char c){
|
||||
case 'x':
|
||||
#ifdef COVERAGE
|
||||
log_info("Flush gcov");
|
||||
__gcov_flush();
|
||||
__gcov_dump();
|
||||
__gcov_reset();
|
||||
#endif
|
||||
printf("EXIT\n");
|
||||
exit(0);
|
||||
|
Loading…
Reference in New Issue
Block a user