llvm-svn: 199080
llvm-svn: 192031
llvm-svn: 191848
At this time only Unix-based systems are supported. Windows has stubs and should re-route to the simulated mode. Thanks to Sriram Murali for contributions to this patch. llvm-svn: 191843