[EventPipe] Fix linker warning on Debug/Checked build and unlink Unix Domain Socket...
authorJosé Rivero <jorive@microsoft.com>
Thu, 21 Mar 2019 16:08:46 +0000 (09:08 -0700)
committerGitHub <noreply@github.com>
Thu, 21 Mar 2019 16:08:46 +0000 (09:08 -0700)
commit20128b021cb631b54be5e0b811e41e3aaec68026
tree93deeddede780a7dbd5f6d3fdf82e32e086fc1f4
parent150f5cb51122343a95d2a7d50718281431863bc6
[EventPipe] Fix linker warning on Debug/Checked build and unlink Unix Domain Socket dotnet/coreclr#23334 (dotnet/coreclr#23357)

- Attempt to close-behind unix domain socket and repurpose LF_REMOTING facility.
  - On shutdown, attempt to unlink the bound socket so it can be removed from the file system when the last reference to it it closed.
- Rename unused LF_REMOTING to LF_DIAGNOSTICS_PORT. This new flag will be used by the diagnostic server stress log calls.
- libcmtd.lib(initializers.obj) : warning LNK4098: defaultlib 'libcmt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library [S:\github.com\jorive\coreclr\bin\obj\Windows_NT.x64.Checked\src\dlls\mscoree\coreclr\coreclr.vcxproj]
- Move some preprocessors and includes around.

Commit migrated from https://github.com/dotnet/coreclr/commit/a8624052c9e7b759e7f943cb2a84a2520bef1b79
src/coreclr/src/debug/debug-pal/CMakeLists.txt
src/coreclr/src/debug/debug-pal/unix/diagnosticsipc.cpp
src/coreclr/src/debug/debug-pal/win/diagnosticsipc.cpp
src/coreclr/src/debug/inc/diagnosticsipc.h
src/coreclr/src/inc/loglf.h
src/coreclr/src/vm/diagnosticserver.cpp
src/coreclr/src/vm/diagnosticserver.h
src/coreclr/src/vm/fastserializer.cpp
src/coreclr/src/vm/fastserializer.h