summaryrefslogtreecommitdiff
path: root/src/dlls
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2018-03-06 02:21:09 +0100
committerGitHub <noreply@github.com>2018-03-06 02:21:09 +0100
commit76245a33daf1e4a8dc724e9b7fd712bd41a7aee0 (patch)
tree5067dae50136e8caca443e2d749814e05f653e3f /src/dlls
parenta2628fc507df0c011383dd0c275bfb0d51bcd060 (diff)
downloadcoreclr-76245a33daf1e4a8dc724e9b7fd712bd41a7aee0.tar.gz
coreclr-76245a33daf1e4a8dc724e9b7fd712bd41a7aee0.tar.bz2
coreclr-76245a33daf1e4a8dc724e9b7fd712bd41a7aee0.zip
Remove libuuid usage (#16643)
* Remove libuuid usage This change removes dependency on the libuuid library that is used for GUID creation only. It implements it using a random generator instead. It also modifies return type of PAL_Random to VOID since it was always returning TRUE and none of the existing callers were checking it. 1. Port the GUID creation to managed code. 2. Modify the PAL_Random to have 6 times better perf so that the perf of the CoCreateGuid that is used in the native runtime doesn't degrade that much w.r.t the previous state when the libuuid was used. 3. Use Interop.GetRandomBytes on Unix and fix Windows
Diffstat (limited to 'src/dlls')
-rw-r--r--src/dlls/mscordac/mscordac_unixexports.src2
-rw-r--r--src/dlls/mscoree/mscorwks_unixexports.src1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/dlls/mscordac/mscordac_unixexports.src b/src/dlls/mscordac/mscordac_unixexports.src
index 99ed375ce7..77a53d7871 100644
--- a/src/dlls/mscordac/mscordac_unixexports.src
+++ b/src/dlls/mscordac/mscordac_unixexports.src
@@ -29,6 +29,7 @@ PAL_InitializeDLL
PAL_TerminateEx
PAL_IsDebuggerPresent
PAL_ProbeMemory
+PAL_Random
PAL_iswspace
PAL_memcpy
PAL_malloc
@@ -65,7 +66,6 @@ _i64tow_s
memcpy_s
sscanf_s
-CoCreateGuid
CopyFileW
CreateDirectoryW
CreateFileMappingA
diff --git a/src/dlls/mscoree/mscorwks_unixexports.src b/src/dlls/mscoree/mscorwks_unixexports.src
index 0eae53f3f9..a3b00d0761 100644
--- a/src/dlls/mscoree/mscorwks_unixexports.src
+++ b/src/dlls/mscoree/mscorwks_unixexports.src
@@ -22,7 +22,6 @@ GetCLRRuntimeHost
; Win32 API and other PAL functions used by the mscorlib
CloseHandle
-CoCreateGuid
CoTaskMemAlloc
CoTaskMemRealloc
CoTaskMemFree