[Lldb-commits] [lldb] [lldb-dap] Support throw and catch exception breakpoints for dynamica… (PR #97871)
Walter Erquinigo via lldb-commits
lldb-commits at lists.llvm.org
Mon Jul 8 15:06:12 PDT 2024
================
@@ -58,10 +58,17 @@ DAP::DAP()
DAP::~DAP() = default;
+/// Return string with first character capitalized.
+static std::string capitalize(llvm::StringRef str) {
+ if (str.empty())
+ return "";
+ return ((llvm::Twine)llvm::toUpper(str[0]) + str.drop_front()).str();
+}
+
void DAP::PopulateExceptionBreakpoints() {
llvm::call_once(init_exception_breakpoints_flag, [this]() {
exception_breakpoints = std::vector<ExceptionBreakpoint> {};
-
+
----------------
walter-erquinigo wrote:
This one doesn't affect git blame history. It should be fine :)
https://github.com/llvm/llvm-project/pull/97871
More information about the lldb-commits
mailing list