Fix build on android and Linux.
authorZachary Turner <zturner@google.com>
Wed, 10 Aug 2016 00:02:58 +0000 (00:02 +0000)
committerZachary Turner <zturner@google.com>
Wed, 10 Aug 2016 00:02:58 +0000 (00:02 +0000)
commit1c06bb107bb915b26d7800138569351851d1ec69
tree1e6b4f8eccd546d9848bba409f628c77345171ea
parentc682303d6f16accb74c43c252f27172c5e5a20a4
Fix build on android and Linux.

gettimeofday() isn't defined without a special header.  Rather
than rely on C apis, let's just use modern C++11 to do this
portably on all platforms using std::chrono.

llvm-svn: 278182
lldb/include/lldb/Host/TimeValue.h
lldb/source/Host/common/TimeValue.cpp