Skip to content
Commit af1fea81 authored by Med Ismail Bennani's avatar Med Ismail Bennani
Browse files

[lldb/API] Add convenience constructor for SBError (NFC)

This patch adds a new convience constructor to the SBError to initialize
it with a string message to avoid having to create the object and call
the `SetErrorString` method afterwards.

This is very handy to report errors from lldb scripted affordances.

Differential Revision: https://reviews.llvm.org/D148401



Signed-off-by: default avatarMed Ismail Bennani <medismail.bennani@gmail.com>
parent ad03aead
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment