[nolibc] Move libc-dependent sanitizer_posix.cc code to sanitizer_posix_libcdep.cc.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182366 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/sanitizer_common/CMakeLists.txt b/lib/sanitizer_common/CMakeLists.txt
index aa514cf..1c1b723 100644
--- a/lib/sanitizer_common/CMakeLists.txt
+++ b/lib/sanitizer_common/CMakeLists.txt
@@ -26,6 +26,7 @@
 set(SANITIZER_LIBCDEP_SOURCES
   sanitizer_common_libcdep.cc
   sanitizer_linux_libcdep.cc
+  sanitizer_posix_libcdep.cc
   )
 
 # Explicitly list all sanitizer_common headers. Not all of these are