diff options
author | Pavel Labath <labath@google.com> | 2017-03-06 15:17:36 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2017-03-06 15:17:36 +0000 |
commit | ca367ce3adba9cad1bcac26b3d489a13a95c4aef (patch) | |
tree | 8e68a2958b3d6e82813427cb8a730f6bbca0a429 | |
parent | 967fc1cef451fbb1550e87dc67355355b7df3367 (diff) | |
download | bcm5719-llvm-ca367ce3adba9cad1bcac26b3d489a13a95c4aef.tar.gz bcm5719-llvm-ca367ce3adba9cad1bcac26b3d489a13a95c4aef.zip |
Fix Log unit tests
the llvm function for getting the thread name dropped the _np suffix
during review. Zachary's commit did not reflect that.
llvm-svn: 297013
-rw-r--r-- | lldb/unittests/Utility/LogTest.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/unittests/Utility/LogTest.cpp b/lldb/unittests/Utility/LogTest.cpp index 33b5b55aa30..474b0345507 100644 --- a/lldb/unittests/Utility/LogTest.cpp +++ b/lldb/unittests/Utility/LogTest.cpp @@ -73,9 +73,8 @@ TEST(LogTest, log_options) { "World 47\n", GetLogString(LLDB_LOG_OPTION_PREPEND_FILE_FUNCTION, "Hello World {0}", 47)); - EXPECT_EQ(llvm::formatv("[{0,0+4}/{1,0+4}] Hello World 47\n", - ::getpid(), - llvm::get_threadid_np()) + EXPECT_EQ(llvm::formatv("[{0,0+4}/{1,0+4}] Hello World 47\n", ::getpid(), + llvm::get_threadid()) .str(), GetLogString(LLDB_LOG_OPTION_PREPEND_PROC_AND_THREAD, "Hello World {0}", 47)); |