https://github.com/SuibianP updated
https://github.com/llvm/llvm-project/pull/121269
>From c32fb82903243e59d6a33e4e38a4da6267981ea6 Mon Sep 17 00:00:00 2001
From: Hu Jialun
Date: Sat, 28 Dec 2024 22:39:33 +0800
Subject: [PATCH] [lldb-dap] Implement runInTerminal for Windows
Currently, the name
oltolm wrote:
ping
https://github.com/llvm/llvm-project/pull/119103
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -0,0 +1,205 @@
+//===-- DILLexer.cpp
--===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -0,0 +1,205 @@
+//===-- DILLexer.cpp
--===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -0,0 +1,156 @@
+//===-- DILLexer.h --*- C++
-*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -0,0 +1,193 @@
+//===-- DILLexerTests.cpp ===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2
@@ -0,0 +1,156 @@
+//===-- DILLexer.h --*- C++
-*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -0,0 +1,156 @@
+//===-- DILLexer.h --*- C++
-*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -0,0 +1,156 @@
+//===-- DILLexer.h --*- C++
-*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
dyung wrote:
> @dyung - OK, I think the current just-pushed version of this PR is worth
> another test.
>
> I've taught the TableGen string table emission to go back to working around
> the MSVC issues using a different table form that we used to use in LLVM when
> MSVC had a reliable error o
https://github.com/cmtice created
https://github.com/llvm/llvm-project/pull/123521
This adds the basic lexer, with unittests, for the Data Inspection Language
(DIL) -- see
https://discourse.llvm.org/t/rfc-data-inspection-language/69893
This version of the lexer only handles local variables and
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: None (cmtice)
Changes
This adds the basic lexer, with unittests, for the Data Inspection Language
(DIL) -- see
https://discourse.llvm.org/t/rfc-data-inspection-language/69893
This version of the lexer only handles local variables and names
https://github.com/cmtice updated
https://github.com/llvm/llvm-project/pull/123521
>From 468f73f8539dcb8addf8ed9618d9eb797dabbb01 Mon Sep 17 00:00:00 2001
From: Caroline Tice
Date: Sun, 19 Jan 2025 09:15:34 -0800
Subject: [PATCH 1/2] [LLDB] Add Lexer (with tests) for DIL (Data Inspection
Langu
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this locally with the following command:
``bash
git-clang-format --diff 23a239267e8a1d20ed10d3545feaf2a2bb70b085
61a2607a70d90688d395321e846a3be58ccbebcb --e
@@ -69,6 +69,22 @@ def test_prompt_color(self):
# Column: 16.8
self.child.expect(re.escape("\x1b[31m(lldb) \x1b[0m\x1b[8G"))
+@skipIfAsan
+@skipIfEditlineSupportMissing
+def test_prompt_format_color(self):
+"""Test that we can change the
https://github.com/labath approved this pull request.
https://github.com/llvm/llvm-project/pull/123430
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -171,7 +171,45 @@ inline std::string FormatAnsiTerminalCodes(llvm::StringRef
format,
}
return fmt;
}
+
+inline std::string StripAnsiTerminalCodes(llvm::StringRef str) {
+ std::string stripped;
+ while (!str.empty()) {
+llvm::StringRef left, right;
+
+std::tie(
@@ -69,6 +69,22 @@ def test_prompt_color(self):
# Column: 16.8
self.child.expect(re.escape("\x1b[31m(lldb) \x1b[0m\x1b[8G"))
+@skipIfAsan
+@skipIfEditlineSupportMissing
+def test_prompt_format_color(self):
+"""Test that we can change the
@@ -1469,6 +1472,19 @@ bool FormatEntity::Format(const Entry &entry, Stream &s,
}
return false;
+ case Entry::Type::TargetFile:
+if (exe_ctx) {
+ Target *target = exe_ctx->GetTargetPtr();
+ if (target) {
+Module *exe_module = target->GetExecutabl
https://github.com/labath approved this pull request.
https://github.com/llvm/llvm-project/pull/123431
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -141,6 +141,10 @@ A complete list of currently supported format string
variables is listed below:
+---+
llvmbot wrote:
@llvm/pr-subscribers-llvm-adt
@llvm/pr-subscribers-clang
Author: Chandler Carruth (chandlerc)
Changes
**Note:** This PR depends on #123302 and #123308 -- only the
last of the three commits should be reviewed here.
---
Historically, the main example of *very* large string
chandlerc wrote:
> Some good news, everything seems to pass after your latest changes in this
> PR! I didn't believe it at first and did a clean rebuild and test to verify.
> In the end everything passed again.
>
> That being said, I am working on deploying an updated version of VS2019 to
> o
https://github.com/chandlerc created
https://github.com/llvm/llvm-project/pull/123548
**Note:** This PR depends on #123302 and #123308 -- only the last of the three
commits should be reviewed here.
---
Historically, the main example of *very* large string tables used the
`EmitCharArray` to wo
24 matches
Mail list logo