forked from OSchip/llvm-project
Fix errors in 0b69756110
Errors found in https://lab.llvm.org/buildbot/#/builders/68/builds/9681/steps/6/logs/stdio
This commit is contained in:
parent
3a83b8b2d2
commit
a4ee79c8ae
|
@ -3092,7 +3092,7 @@ llvm::Expected<TraceSP &> Target::GetTraceOrCreate() {
|
|||
return llvm::createStringError(
|
||||
llvm::inconvertibleErrorCode(),
|
||||
"Couldn't start tracing the process. %s",
|
||||
llvm::toString(trace_type.takeError()).c_str());
|
||||
llvm::toString(trace_sp.takeError()).c_str());
|
||||
}
|
||||
return m_trace_sp;
|
||||
}
|
||||
|
|
|
@ -417,7 +417,7 @@ TEST_F(GDBRemoteCommunicationClientTest, SendTraceSupportedPacket) {
|
|||
HandlePacket(server, "jLLDBTraceSupported", R"({"type":"intel-pt"}])");
|
||||
|
||||
EXPECT_FALSE(result.get());
|
||||
ASSERT_STREQ(error_message.c_str(), "missing value at (root).description");
|
||||
ASSERT_STREQ(error_message.c_str(), "missing value at TraceSupportedResponse.description");
|
||||
}
|
||||
|
||||
// Error response
|
||||
|
|
Loading…
Reference in New Issue