[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)
commita8624052c9e7b759e7f943cb2a84a2520bef1b79
tree39a8a1ee347b401427760183c763ca56350f5b34
parentad30997d41d9652a644f6a2fe1b73bd8416d87b2
[EventPipe] Fix linker warning on Debug/Checked build and unlink Unix Domain Socket #23334 (#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.
src/debug/debug-pal/CMakeLists.txt
src/debug/debug-pal/unix/diagnosticsipc.cpp
src/debug/debug-pal/win/diagnosticsipc.cpp
src/debug/inc/diagnosticsipc.h
src/inc/loglf.h
src/vm/diagnosticserver.cpp
src/vm/diagnosticserver.h
src/vm/fastserializer.cpp
src/vm/fastserializer.h