[Lldb-commits] [lldb] r287862 - Remove \x13 (^S) character that was likely added by mistake.

2016-11-24 Thread Adrian Kuegel via lldb-commits
Author: akuegel
Date: Thu Nov 24 04:01:34 2016
New Revision: 287862

URL: http://llvm.org/viewvc/llvm-project?rev=287862&view=rev
Log:
Remove \x13 (^S) character that was likely added by mistake.

r287386 added a \x13 character inside a string literal. Most likely this
was by mistake, so remove it.

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

Modified:
lldb/trunk/source/Commands/CommandObjectThread.cpp

Modified: lldb/trunk/source/Commands/CommandObjectThread.cpp
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectThread.cpp?rev=287862&r1=287861&r2=287862&view=diff
==
--- lldb/trunk/source/Commands/CommandObjectThread.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectThread.cpp Thu Nov 24 04:01:34 2016
@@ -979,7 +979,7 @@ public:
 "current or specified thread.  Stops when returning from "
 "the current function as a safety measure.  "
 "The target line number(s) are given as arguments, and if more 
than one"
-" is provided, stepping will stop when the first one is hit.",
+" is provided, stepping will stop when the first one is hit.",
 nullptr,
 eCommandRequiresThread | eCommandTryTargetAPILock |
 eCommandProcessMustBeLaunched | eCommandProcessMustBePaused),


___
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits


[Lldb-commits] [lldb] c30c37c - Revert "[lldb] fix test expectation broken by clang fix at D110216"

2021-11-12 Thread Adrian Kuegel via lldb-commits

Author: Adrian Kuegel
Date: 2021-11-12T13:21:30+01:00
New Revision: c30c37c00a501e21f36f13109795dd5f95e1d937

URL: 
https://github.com/llvm/llvm-project/commit/c30c37c00a501e21f36f13109795dd5f95e1d937
DIFF: 
https://github.com/llvm/llvm-project/commit/c30c37c00a501e21f36f13109795dd5f95e1d937.diff

LOG: Revert "[lldb] fix test expectation broken by clang fix at D110216"

This reverts commit 55085952175ed3b029097a0594acc4e34a5df218.
The patch it depends on is reverted.

Added: 


Modified: 
lldb/test/Shell/SymbolFile/NativePDB/function-types-builtins.cpp

Removed: 




diff  --git a/lldb/test/Shell/SymbolFile/NativePDB/function-types-builtins.cpp 
b/lldb/test/Shell/SymbolFile/NativePDB/function-types-builtins.cpp
index 69d8d17179fe9..75f9a029d448c 100644
--- a/lldb/test/Shell/SymbolFile/NativePDB/function-types-builtins.cpp
+++ b/lldb/test/Shell/SymbolFile/NativePDB/function-types-builtins.cpp
@@ -118,7 +118,7 @@ auto aab = &unary;
 auto aac = &unary;
 // CHECK: (void (*)(int (&&)[5])) aac = {{.*}}
 auto aad = &unary;
-// CHECK: (void (*)(int (*const)[5])) aad = {{.*}}
+// CHECK: (void (*)(int (*)[5])) aad = {{.*}}
 
 
 // same test cases with return values, note we can't overload on return type



___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits


[Lldb-commits] [lldb] [lldb] Fix compile error. (PR #130091)

2025-03-15 Thread Adrian Kuegel via lldb-commits

https://github.com/akuegel closed 
https://github.com/llvm/llvm-project/pull/130091
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits


[Lldb-commits] [lldb] [lldb] Fix compile error. (PR #130091)

2025-03-11 Thread Adrian Kuegel via lldb-commits

https://github.com/akuegel created 
https://github.com/llvm/llvm-project/pull/130091

Followup to 
https://github.com/llvm/llvm-project/commit/878a64f94a264ea4b564d6063614ddb0b5da3f6c

>From a07b4420127fab0008bb0111dc5f49baac6e050e Mon Sep 17 00:00:00 2001
From: Adrian Kuegel 
Date: Thu, 6 Mar 2025 12:25:56 +
Subject: [PATCH] [lldb] Fix compile error.

Followup to 
https://github.com/llvm/llvm-project/commit/878a64f94a264ea4b564d6063614ddb0b5da3f6c
---
 lldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/lldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp 
b/lldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp
index a38396dc14635..21bc0f28db0b9 100644
--- a/lldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp
+++ b/lldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp
@@ -459,7 +459,9 @@ ABISysV_arc::GetReturnValueObjectSimple(Thread &thread,
   const uint32_t type_flags = compiler_type.GetTypeInfo();
   // Integer return type.
   if (type_flags & eTypeIsInteger) {
-const size_t byte_size = compiler_type.GetByteSize(&thread).value_or(0);
+const size_t byte_size =
+llvm::expectedToOptional(compiler_type.GetByteSize(&thread))
+.value_or(0);
 auto raw_value = ReadRawValue(reg_ctx, byte_size);
 
 const bool is_signed = (type_flags & eTypeIsSigned) != 0;
@@ -483,7 +485,9 @@ ABISysV_arc::GetReturnValueObjectSimple(Thread &thread,
 
 if (compiler_type.IsFloatingPointType(float_count, is_complex) &&
 1 == float_count && !is_complex) {
-  const size_t byte_size = compiler_type.GetByteSize(&thread).value_or(0);
+  const size_t byte_size =
+  llvm::expectedToOptional(compiler_type.GetByteSize(&thread))
+  .value_or(0);
   auto raw_value = ReadRawValue(reg_ctx, byte_size);
 
   if (!SetSizedFloat(value.GetScalar(), raw_value, byte_size))

___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits