[Lldb-commits] [lldb] r313183 - [unittests] Another speculative fix for changes introduced in rL313156

Vedant Kumar via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 13 13:03:34 PDT 2017


Author: vedantk
Date: Wed Sep 13 13:03:34 2017
New Revision: 313183

URL: http://llvm.org/viewvc/llvm-project?rev=313183&view=rev
Log:
[unittests] Another speculative fix for changes introduced in rL313156

Modified:
    lldb/trunk/unittests/Symbol/TestDWARFCallFrameInfo.cpp

Modified: lldb/trunk/unittests/Symbol/TestDWARFCallFrameInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/unittests/Symbol/TestDWARFCallFrameInfo.cpp?rev=313183&r1=313182&r2=313183&view=diff
==============================================================================
--- lldb/trunk/unittests/Symbol/TestDWARFCallFrameInfo.cpp (original)
+++ lldb/trunk/unittests/Symbol/TestDWARFCallFrameInfo.cpp Wed Sep 13 13:03:34 2017
@@ -98,7 +98,8 @@ void DWARFCallFrameInfoTest::TestBasic(D
 
   const char *args[] = {YAML2OBJ, yaml.c_str(), nullptr};
   llvm::StringRef obj_ref = obj;
-  const llvm::StringRef *redirects[] = {nullptr, &obj_ref, nullptr};
+  const llvm::Optional<llvm::StringRef> redirects[] = {llvm::None, obj_ref,
+                                                       llvm::None};
   ASSERT_EQ(0, llvm::sys::ExecuteAndWait(YAML2OBJ, args, nullptr, redirects));
 
   uint64_t size;




More information about the lldb-commits mailing list