Author: Fangrui Song Date: 2024-03-01T12:09:32-08:00 New Revision: ebaf26dabec00c32177cd4fa47f3bf5902b194b7
URL: https://github.com/llvm/llvm-project/commit/ebaf26dabec00c32177cd4fa47f3bf5902b194b7 DIFF: https://github.com/llvm/llvm-project/commit/ebaf26dabec00c32177cd4fa47f3bf5902b194b7.diff LOG: [lldb] Fix -Wformat after #83602 Added: Modified: lldb/source/Commands/CommandObjectThread.cpp Removed: ################################################################################ diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp index 6d84315a471d95..cf4f8ccaa0c4aa 100644 --- a/lldb/source/Commands/CommandObjectThread.cpp +++ b/lldb/source/Commands/CommandObjectThread.cpp @@ -280,7 +280,7 @@ class ThreadStepScopeOptionGroup : public OptionGroup { if (!success) error.SetErrorStringWithFormat( "invalid boolean value for option '%c': %s", short_option, - option_arg); + option_arg.data()); else { m_step_in_avoid_no_debug = avoid_no_debug ? eLazyBoolYes : eLazyBoolNo; } @@ -293,7 +293,7 @@ class ThreadStepScopeOptionGroup : public OptionGroup { if (!success) error.SetErrorStringWithFormat( "invalid boolean value for option '%c': %s", short_option, - option_arg); + option_arg.data()); else { m_step_out_avoid_no_debug = avoid_no_debug ? eLazyBoolYes : eLazyBoolNo; } _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits