summaryrefslogtreecommitdiff
path: root/src/pal/src/cruntime
diff options
context:
space:
mode:
authorMike McLaughlin <mikem@microsoft.com>2016-06-03 14:15:43 -0700
committerMike McLaughlin <mikem@microsoft.com>2016-06-03 14:15:43 -0700
commit0a4675b32fee372e458852ba3ec703d3abd89831 (patch)
treef9a6b8b4fe08fdb486c81adbe06e9af4c5019b95 /src/pal/src/cruntime
parent924b56813d3b1c7cde0c7ea9ea9d8d86370581e3 (diff)
downloadcoreclr-0a4675b32fee372e458852ba3ec703d3abd89831.tar.gz
coreclr-0a4675b32fee372e458852ba3ec703d3abd89831.tar.bz2
coreclr-0a4675b32fee372e458852ba3ec703d3abd89831.zip
Limit exports on debugger modules. (#5442)
Remove obsolete ExecuteAssembly hosting API from coreclr. Needed to add palrt to dbi instead of trying to export from palrt. Didn't end up adding the --no-allow-shlib-undefined linker option because Centos and FreeBSD link with lots of undefined symbols from the C++ runtime libraries.
Diffstat (limited to 'src/pal/src/cruntime')
-rw-r--r--src/pal/src/cruntime/misc.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/pal/src/cruntime/misc.cpp b/src/pal/src/cruntime/misc.cpp
index 12465c7341..9e5acf65ff 100644
--- a/src/pal/src/cruntime/misc.cpp
+++ b/src/pal/src/cruntime/misc.cpp
@@ -293,8 +293,6 @@ void PAL__mm_setcsr(unsigned int i)
#endif // _AMD64_
-#if defined(_DEBUG)
-
/*++
Function:
PAL_memcpy
@@ -302,14 +300,15 @@ PAL_memcpy
Overlapping buffer-safe version of memcpy.
See MSDN doc for memcpy
--*/
+EXTERN_C
+PALIMPORT
void *PAL_memcpy (void *dest, const void *src, size_t count)
{
UINT_PTR x = (UINT_PTR)dest, y = (UINT_PTR)src;
- assert((x + count <= y) || (y + count <= x));
+ _ASSERTE((x + count <= y) || (y + count <= x));
void *ret;
#undef memcpy
ret = memcpy(dest, src, count);
return ret;
}
-#endif //DEBUG