CarlosAlbertoEnciso wrote:

@adrian-prantl It seems that this change is causing the 
'lldb/unittests/ScriptInterpreter/Lua/ScriptInterpreterTests.cpp' to fail when 
building using GCC.

c2750807ba2a [lldb] Rename CommandReturnObject::Get.*Data -> Get.*String 
(#112062)
```
../llvm-project/lldb/unittests/ScriptInterpreter/Lua/ScriptInterpreterTests.cpp:51:22:
error: ‘class lldb_private::CommandReturnObject’ has no member named 
‘GetErrorData’;
did you mean ‘GetErrorStream’?
   51 |   EXPECT_TRUE(result.GetErrorData().starts_with(
```

After change:
9eddc8b9bf4e [lldb] Expose structured command diagnostics via the SBAPI. 
(#112109)
The error message changes to:
```
../llvm-project/lldb/unittests/ScriptInterpreter/Lua/ScriptInterpreterTests.cpp:51:37:
error: ‘lldb_private::StructuredData::ObjectSP’
 {aka ‘class std::shared_ptr<lldb_private::StructuredData::Object>’}
 has no member named ‘starts_with’
   51 |   EXPECT_TRUE(result.GetErrorData().starts_with(
```


https://github.com/llvm/llvm-project/pull/112062
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to