labath added inline comments.

================
Comment at: unittests/Host/ConnectionFileDescriptorTest.cpp:41
+    llvm::StringRef path;
+    EXPECT_TRUE(UriParser::Parse(connection_file_descriptor.GetURI(), scheme,
+                                 hostname, port, path));
----------------
Judging by Davide's email, this looks like the cause of your problem. GetURI() 
returns a temporary string, which means that the StringRefs `UriParser` parses 
it into become dangling after this statement.


Repository:
  rLLDB LLDB

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61833/new/

https://reviews.llvm.org/D61833



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to