}
#undef assert
-#undef STRINGIFY
-#define STRINGIFY(__str) #__str
#define assert(expr) \
((void) ((expr) ? 0 : \
- (my_assert_fail (STRINGIFY(expr), \
+ (my_assert_fail (VG_STRINGIFY(expr), \
__FILE__, __LINE__, \
__PRETTY_FUNCTION__), 0)))
Returns a Long encoded in the linux-amd64 way, not a SysRes.
*/
-#define STRINGIFZ(__str) #__str
-#define STRINGIFY(__str) STRINGIFZ(__str)
-#define __NR_CLONE STRINGIFY(__NR_clone)
-#define __NR_EXIT STRINGIFY(__NR_exit)
+#define __NR_CLONE VG_STRINGIFY(__NR_clone)
+#define __NR_EXIT VG_STRINGIFY(__NR_exit)
extern
Long do_syscall_clone_amd64_linux ( Long (*fn)(void *),
#undef __NR_CLONE
#undef __NR_EXIT
-#undef STRINGIFY
-#undef STRINGIFZ
// forward declaration
Returns an Int encoded in the linux-ppc32 way, not a SysRes.
*/
-#define STRINGIFZ(__str) #__str
-#define STRINGIFY(__str) STRINGIFZ(__str)
-#define __NR_CLONE STRINGIFY(__NR_clone)
-#define __NR_EXIT STRINGIFY(__NR_exit)
+#define __NR_CLONE VG_STRINGIFY(__NR_clone)
+#define __NR_EXIT VG_STRINGIFY(__NR_exit)
extern
ULong do_syscall_clone_ppc32_linux ( Int (*fn)(void *),
#undef __NR_CLONE
#undef __NR_EXIT
-#undef STRINGIFY
-#undef STRINGIFZ
// forward declarations
static void setup_child ( ThreadArchState*, ThreadArchState* );
Returns an Int encoded in the linux-x86 way, not a SysRes.
*/
-#define STRINGIFZ(__str) #__str
-#define STRINGIFY(__str) STRINGIFZ(__str)
#define FSZ "4+4+4+4" /* frame size = retaddr+ebx+edi+esi */
-#define __NR_CLONE STRINGIFY(__NR_clone)
-#define __NR_EXIT STRINGIFY(__NR_exit)
+#define __NR_CLONE VG_STRINGIFY(__NR_clone)
+#define __NR_EXIT VG_STRINGIFY(__NR_exit)
extern
Int do_syscall_clone_x86_linux ( Int (*fn)(void *),
#undef FSZ
#undef __NR_CLONE
#undef __NR_EXIT
-#undef STRINGIFY
-#undef STRINGIFZ
// forward declarations