Commit 5c46e293 by Ian Lance Taylor

runtime: Call exit rather than _exit.

This fixes --coverage and perhaps other things as well.

From-SVN: r184642
parent fbd3340c
...@@ -348,7 +348,7 @@ void runtime_panic(Eface); ...@@ -348,7 +348,7 @@ void runtime_panic(Eface);
#define runtime_strcmp(s1, s2) __builtin_strcmp((s1), (s2)) #define runtime_strcmp(s1, s2) __builtin_strcmp((s1), (s2))
#define runtime_mcmp(a, b, s) __builtin_memcmp((a), (b), (s)) #define runtime_mcmp(a, b, s) __builtin_memcmp((a), (b), (s))
#define runtime_memmove(a, b, s) __builtin_memmove((a), (b), (s)) #define runtime_memmove(a, b, s) __builtin_memmove((a), (b), (s))
#define runtime_exit(s) _exit(s) #define runtime_exit(s) exit(s)
MCache* runtime_allocmcache(void); MCache* runtime_allocmcache(void);
void free(void *v); void free(void *v);
struct __go_func_type; struct __go_func_type;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment