diff --git a/common_x86.h b/common_x86.h index 0cb242c4e..9d2df41b8 100644 --- a/common_x86.h +++ b/common_x86.h @@ -313,8 +313,12 @@ REALNAME: #define PROFCODE +#ifdef __clang__ +#define EPILOGUE .end +#else #define EPILOGUE .end REALNAME #endif +#endif #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_NETBSD) || defined(__ELF__) #define PROLOGUE \