DavidSpickett wrote:
Thanks! You've saved me some work here. We've been seeing this fail on the
Linuxes too since I disabled it for Windows.
https://github.com/llvm/llvm-project/pull/98237
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
http
https://github.com/DavidSpickett approved this pull request.
https://github.com/llvm/llvm-project/pull/98237
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
DavidSpickett wrote:
cI failure is unrelated:
```
Timed Out Tests (1):
lldb-api :: api/multiple-debuggers/TestMultipleDebuggers.py
```
Which is the *other* flaky test on my list to look at...
https://github.com/llvm/llvm-project/pull/98237
___
lldb-c
DavidSpickett wrote:
In case we need them for future reference, some failures this aims to fix:
https://github.com/llvm/llvm-project/pull/98041#issuecomment-2216892858
https://lab.llvm.org/buildbot/#/builders/59/builds/1234
https://lab.llvm.org/buildbot/#/builders/162/builds/1570
https://github.
Author: Pavel Labath
Date: 2024-07-10T09:36:26Z
New Revision: 14ba847d273a0defe0f4617bcfe9e1b2163e2bbc
URL:
https://github.com/llvm/llvm-project/commit/14ba847d273a0defe0f4617bcfe9e1b2163e2bbc
DIFF:
https://github.com/llvm/llvm-project/commit/14ba847d273a0defe0f4617bcfe9e1b2163e2bbc.diff
LOG:
https://github.com/labath created
https://github.com/llvm/llvm-project/pull/98293
ThreadList uses the Process mutex to guard its state. This means its not
possible to safely modify its process member, as the member is required to lock
the mutex.
Fortunately for us, we never actually need to c
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: Pavel Labath (labath)
Changes
ThreadList uses the Process mutex to guard its state. This means its not
possible to safely modify its process member, as the member is required to lock
the mutex.
Fortunately for us, we never actually need t
labath wrote:
Previous attempt to fix this issue: https://reviews.llvm.org/D158034
https://github.com/llvm/llvm-project/pull/98293
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
Author: David Spickett
Date: 2024-07-10T10:35:28Z
New Revision: 08ce14732d528ab70309f334446d39782f2f07c0
URL:
https://github.com/llvm/llvm-project/commit/08ce14732d528ab70309f334446d39782f2f07c0
DIFF:
https://github.com/llvm/llvm-project/commit/08ce14732d528ab70309f334446d39782f2f07c0.diff
LOG
https://github.com/Michael137 updated
https://github.com/llvm/llvm-project/pull/96538
>From 2b82d72874c396258378f9db2f01729e5be5bae1 Mon Sep 17 00:00:00 2001
From: Michael Buch
Date: Mon, 29 Jan 2024 16:23:16 +
Subject: [PATCH] [lldb] Support new libc++ __compressed_pair layout
---
lldb/e
Author: David Spickett
Date: 2024-07-10T11:22:07Z
New Revision: 3e06392c7db0eacfca94a176d430d9988b3ffbd6
URL:
https://github.com/llvm/llvm-project/commit/3e06392c7db0eacfca94a176d430d9988b3ffbd6
DIFF:
https://github.com/llvm/llvm-project/commit/3e06392c7db0eacfca94a176d430d9988b3ffbd6.diff
LOG
DavidSpickett wrote:
Clang's decision to emit DW_AT_type or not goes back to
https://reviews.llvm.org/D42734 and in particular this code:
```
void DwarfUnit::constructEnumTypeDIE(DIE &Buffer, const DICompositeType *CTy) {
const DIType *DTy = resolve(CTy->getBaseType());
bool IsUnsigned = DTy
https://github.com/Michael137 created
https://github.com/llvm/llvm-project/pull/98330
This is currently just a prototype.
This is motivated by the upcoming refactor of libc++'s `__compressed_pair` in
https://github.com/llvm/llvm-project/pull/76756
As this will require changes to numerous LLDB
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: Michael Buch (Michael137)
Changes
This is currently just a prototype.
This is motivated by the upcoming refactor of libc++'s `__compressed_pair` in
https://github.com/llvm/llvm-project/pull/76756
As this will require changes to numerous L
Michael137 wrote:
It's a non-trivial maintenance cost but I think the upside is quite large:
* we'll have more confidence that old layouts don't break over time
* faster signal when we break compatibility
* trimmed down reference implementation of the various STL layouts without
having to trawl
github-actions[bot] wrote:
:warning: Python code formatter, darker found issues in your code. :warning:
You can test this locally with the following command:
``bash
darker --check --diff -r
918ac62916d48649f224f8c54837d25baff97a08...a25b3c8a6a36326730d00d1060ff84181bece26e
lldb
https://github.com/Michael137 edited
https://github.com/llvm/llvm-project/pull/98330
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/Michael137 updated
https://github.com/llvm/llvm-project/pull/96538
>From 1b47b3f3b0735a5a127372e93775e99fd2977e6f Mon Sep 17 00:00:00 2001
From: Michael Buch
Date: Mon, 29 Jan 2024 16:23:16 +
Subject: [PATCH] [lldb] Support new libc++ __compressed_pair layout
---
lldb/e
https://github.com/Michael137 updated
https://github.com/llvm/llvm-project/pull/96538
>From 7de2db47a5be90a41a211d21210429e01cda945d Mon Sep 17 00:00:00 2001
From: Michael Buch
Date: Mon, 29 Jan 2024 16:23:16 +
Subject: [PATCH] [lldb] Support new libc++ __compressed_pair layout
---
lldb/e
https://github.com/Michael137 edited
https://github.com/llvm/llvm-project/pull/98330
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/Michael137 edited
https://github.com/llvm/llvm-project/pull/98330
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/Michael137 updated
https://github.com/llvm/llvm-project/pull/98330
>From a25b3c8a6a36326730d00d1060ff84181bece26e Mon Sep 17 00:00:00 2001
From: Michael Buch
Date: Wed, 10 Jul 2024 15:37:45 +0100
Subject: [PATCH 1/2] [WIP][lldb][test] Add a layout simulator test for
std::uni
https://github.com/kevinfrei created
https://github.com/llvm/llvm-project/pull/98344
This is all the tests and fixes I've had percolating since my first attempt at
this in January. After 6 months of trying, I've given up on adding the ability
to test DWP files in LLDB API tests. I've left both
kevinfrei wrote:
@JDevlieghere or @clayborg if one of you could please approve & land this, I
*believe* this disables the tests that caused the previous diff to be reverted.
https://github.com/llvm/llvm-project/pull/98344
___
lldb-commits mailing list
https://github.com/JDevlieghere approved this pull request.
https://github.com/llvm/llvm-project/pull/98344
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
Author: Kevin Frei
Date: 2024-07-10T09:28:22-07:00
New Revision: b9496a74eb4029629ca2e440c5441614e766f773
URL:
https://github.com/llvm/llvm-project/commit/b9496a74eb4029629ca2e440c5441614e766f773
DIFF:
https://github.com/llvm/llvm-project/commit/b9496a74eb4029629ca2e440c5441614e766f773.diff
LO
https://github.com/JDevlieghere closed
https://github.com/llvm/llvm-project/pull/98344
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/Michael137 updated
https://github.com/llvm/llvm-project/pull/96538
>From 125e24426cd897292f8839fbc4c6465ce915ac05 Mon Sep 17 00:00:00 2001
From: Michael Buch
Date: Mon, 29 Jan 2024 16:23:16 +
Subject: [PATCH] [lldb] Support new libc++ __compressed_pair layout
---
lldb/e
https://github.com/Michael137 updated
https://github.com/llvm/llvm-project/pull/96538
>From 231e0ddc5834ac7fe8e4860c79504f6ce8666db5 Mon Sep 17 00:00:00 2001
From: Michael Buch
Date: Mon, 29 Jan 2024 16:23:16 +
Subject: [PATCH] [lldb] Support new libc++ __compressed_pair layout
---
lldb/e
https://github.com/Michael137 edited
https://github.com/llvm/llvm-project/pull/96538
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/Michael137 ready_for_review
https://github.com/llvm/llvm-project/pull/96538
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: Michael Buch (Michael137)
Changes
This patch is in preparation for the `__compressed_pair` refactor in
https://github.com/llvm/llvm-project/pull/76756.
This is mostly reviewable now. With the new layout we no longer need to unwrap
the `__
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `lldb-arm-ubuntu` running
on `linaro-lldb-arm-ubuntu` while building `lldb` at step 6 "test".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/18/builds/616
Here is the relevant piece of the build log fo
https://github.com/kevinfrei created
https://github.com/llvm/llvm-project/pull/98351
This should disable the failing test on the ubuntu build bots @JDevlieghere (I
forgot to disable the 'baseline' test, as it tests the debugger's basic
handling of DWP files, but again, the API infrastructure d
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: Kevin Frei (kevinfrei)
Changes
This should disable the failing test on the ubuntu build bots @JDevlieghere (I forgot to disable the 'baseline' test, as it tests the
debugger's basic handling of DWP files, but again, the API infrastructure
kevinfrei wrote:
"fixed forward" with
[PR98351](https://github.com/llvm/llvm-project/pull/98351/commits) if someone
can approve & land that (it just disabled the baseline test for DWP stuff, as
well: I missed it because the dwp tests run on all the machines I have access
to :/ )
https://gith
https://github.com/JDevlieghere approved this pull request.
LGTM.
As a nice to have, maybe add a short explanation to the first mutex explaining
that these operations are only allowed between thread lists belonging to the
same process. Your current comment makes it sound as if that only appli
https://github.com/JDevlieghere edited
https://github.com/llvm/llvm-project/pull/98293
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/bulbazord approved this pull request.
LGTM, thanks!
https://github.com/llvm/llvm-project/pull/97824
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/ZequanWu created
https://github.com/llvm/llvm-project/pull/98361
This is a reapply of https://github.com/llvm/llvm-project/pull/92328 and
https://github.com/llvm/llvm-project/pull/93839.
It now passes the
[test](https://github.com/llvm/llvm-project/commit/de3f1b6d68ab8a0e82
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: Zequan Wu (ZequanWu)
Changes
This is a reapply of https://github.com/llvm/llvm-project/pull/92328 and
https://github.com/llvm/llvm-project/pull/93839.
It now passes the
[test](https://github.com/llvm/llvm-project/commit/de3f1b6d68ab8a0e82
@@ -20,16 +20,15 @@ using namespace llvm;
int main(int argc, char **argv) {
#if defined(__i386__) || defined(_M_IX86) || \
defined(__x86_64__) || defined(_M_X64)
- StringMap features;
-
- if (!sys::getHostCPUFeatures(features))
+ const StringMap features = sys::getHostCP
Author: Kevin Frei
Date: 2024-07-10T11:07:01-07:00
New Revision: 2fa1220a37a3f55b76a29803d8333b3a3937d53a
URL:
https://github.com/llvm/llvm-project/commit/2fa1220a37a3f55b76a29803d8333b3a3937d53a
DIFF:
https://github.com/llvm/llvm-project/commit/2fa1220a37a3f55b76a29803d8333b3a3937d53a.diff
LO
https://github.com/clayborg closed
https://github.com/llvm/llvm-project/pull/98351
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/clayborg approved this pull request.
https://github.com/llvm/llvm-project/pull/98351
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/beetrees created
https://github.com/llvm/llvm-project/pull/98369
Adds support to LLDB for displaying 128-bit IEEE 754 floats (`__float128` in
Clang, `_Float128` in GCC, `f128` in Rust). As DWARF does not currently provide
a systemic way to distinguish between a 128-bit IEEE
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: None (beetrees)
Changes
Adds support to LLDB for displaying 128-bit IEEE 754 floats (`__float128` in
Clang, `_Float128` in GCC, `f128` in Rust). As DWARF does not currently provide
a systemic way to distinguish between a 128-bit IEEE 754 f
@@ -58,8 +58,13 @@ class ThreadPlanStepRange : public ThreadPlan {
// run' plan, then just single step.
bool SetNextBranchBreakpoint();
+ // Whether the input stop info is caused by the next branch breakpoint.
jeffreytan81 wrote:
This function only check
github-actions[bot] wrote:
:warning: Python code formatter, darker found issues in your code. :warning:
You can test this locally with the following command:
``bash
darker --check --diff -r
b81fcd01bde51eb8976b81a2c0c19fc0645cd2ff...aa85d4ce6981670d9e652a57caa8c73324099533
lldb/
@@ -195,10 +199,10 @@ enum Format {
///< character arrays that can contain non printable
///< characters
eFormatAddressInfo,///< Describe what an address points to (func + offset
- ///< with file/line,
https://github.com/beetrees updated
https://github.com/llvm/llvm-project/pull/98369
>From 1fa7e9025310f244633dd70566f63885ec5d3314 Mon Sep 17 00:00:00 2001
From: beetrees
Date: Wed, 10 Jul 2024 18:49:45 +0100
Subject: [PATCH] [lldb] Add support for displaying `__float128` variables
---
lldb/b
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 33af4bd7a4c42f55646fa7d2826cd41384ecdece
1fa7e9025310f244633dd70566f63885ec5d3314 --e
https://github.com/beetrees updated
https://github.com/llvm/llvm-project/pull/98369
>From 42df2ac904995b02c0f9abcf1aacf54d17dd219e Mon Sep 17 00:00:00 2001
From: beetrees
Date: Wed, 10 Jul 2024 18:49:45 +0100
Subject: [PATCH] [lldb] Add support for displaying `__float128` variables
---
lldb/b
@@ -195,10 +199,10 @@ enum Format {
///< character arrays that can contain non printable
///< characters
eFormatAddressInfo,///< Describe what an address points to (func + offset
- ///< with file/line,
https://github.com/JDevlieghere created
https://github.com/llvm/llvm-project/pull/98388
The memory read can fail for a malformed fileset. Handle it gracefully instead
of passing a nullptr to the std::string constructor.
rdar://131477833
>From 30f9ae1d2a086e7cf6ef713cc1e7ca91490169e5 Mon Sep 1
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: Jonas Devlieghere (JDevlieghere)
Changes
The memory read can fail for a malformed fileset. Handle it gracefully instead
of passing a nullptr to the std::string constructor.
rdar://131477833
---
Full diff: https://github.com/llvm/llvm-proj
https://github.com/jasonmolenda approved this pull request.
LGTM. We'll skip any fileset entries that we can't read the filename of.
https://github.com/llvm/llvm-project/pull/98388
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://list
https://github.com/JDevlieghere closed
https://github.com/llvm/llvm-project/pull/98388
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
Author: Jonas Devlieghere
Date: 2024-07-10T14:16:56-07:00
New Revision: 919caa89ee3323228ccb1dd065d86805b34b9b6a
URL:
https://github.com/llvm/llvm-project/commit/919caa89ee3323228ccb1dd065d86805b34b9b6a
DIFF:
https://github.com/llvm/llvm-project/commit/919caa89ee3323228ccb1dd065d86805b34b9b6a.d
dzhidzhoev wrote:
Created RFC
https://discourse.llvm.org/t/rfc-lldb-support-remote-run-of-shell-tests/80072,
hope it fosters the discussion.
https://github.com/llvm/llvm-project/pull/95986
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
htt
https://github.com/shawbyoung closed
https://github.com/llvm/llvm-project/pull/96596
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
Jlalond wrote:
> > None of the SB API methods return any STL types/containers, like the
> > std::optionals returned in this PR. I worry if this will make the bridging
> > to other languages more complicated, but it's never something I've thought
> > about before. @jimingham @bulbazord @claybor
https://github.com/Jlalond unassigned
https://github.com/llvm/llvm-project/pull/98403
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/Jlalond unassigned
https://github.com/llvm/llvm-project/pull/98403
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/Jlalond unassigned
https://github.com/llvm/llvm-project/pull/98403
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
walter-erquinigo wrote:
This is a very benign change, so I'll be merging it. Happy to make change
post-merge if anyone provides any feedback.
https://github.com/llvm/llvm-project/pull/97871
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
htt
https://github.com/walter-erquinigo closed
https://github.com/llvm/llvm-project/pull/97871
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
Author: Walter Erquinigo
Date: 2024-07-10T19:05:38-04:00
New Revision: 541f22ee361a8b3029ac898db29d3e9184fb1671
URL:
https://github.com/llvm/llvm-project/commit/541f22ee361a8b3029ac898db29d3e9184fb1671
DIFF:
https://github.com/llvm/llvm-project/commit/541f22ee361a8b3029ac898db29d3e9184fb1671.di
jimingham wrote:
I prefer CoreDumpOptions, because CoreOptions could mean "options for reading
in core files" or "options for writing core files", but CoreDumpOptions -
reading the Dump as a verb - resolves the ambiguity. Or you could use
CoreFileWritingOptions if you want to be really explic
https://github.com/alanzhao1 created
https://github.com/llvm/llvm-project/pull/98420
This reduces Sphinx dependencies for building lldb man pages as lldb man pages
don't use markdown.
>From fab10fb2efe8265d1b403a650dbd2d3348f29b73 Mon Sep 17 00:00:00 2001
From: Alan Zhao
Date: Wed, 10 Jul 2
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: Alan Zhao (alanzhao1)
Changes
This reduces Sphinx dependencies for building lldb man pages as lldb man pages
don't use markdown.
---
Full diff: https://github.com/llvm/llvm-project/pull/98420.diff
1 Files Affected:
- (modified) lldb/d
https://github.com/JDevlieghere approved this pull request.
https://github.com/llvm/llvm-project/pull/98420
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
github-actions[bot] wrote:
:warning: Python code formatter, darker found issues in your code. :warning:
You can test this locally with the following command:
``bash
darker --check --diff -r
131eb30584333b61888735b4fefe53dd25b741e0...fab10fb2efe8265d1b403a650dbd2d3348f29b73
lldb/
https://github.com/alanzhao1 updated
https://github.com/llvm/llvm-project/pull/98420
>From fab10fb2efe8265d1b403a650dbd2d3348f29b73 Mon Sep 17 00:00:00 2001
From: Alan Zhao
Date: Wed, 10 Jul 2024 15:56:39 -0700
Subject: [PATCH 1/2] [lldb][man][nfc] Don't register a markdown parser when
buildin
cmtice wrote:
> > BTW, I have verified that this stripped down version passes all the frame
> > variable tests in LLDB.
>
> That's cool. Just to confirm, have you looked at replacing `target variable`
> as well? It uses the same language as "frame var" under the hood, which but
> it has a som
@@ -0,0 +1,446 @@
+//===-- DILAST.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,446 @@
+//===-- DILAST.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,446 @@
+//===-- DILAST.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
https://github.com/clayborg created
https://github.com/llvm/llvm-project/pull/98432
PT_LOAD and PT_TLS segments are top level sections in the ObjectFileELF section
list. The two segments can often have the same program header p_vaddr and
p_paddr values and this can cause section load list issu
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: Greg Clayton (clayborg)
Changes
PT_LOAD and PT_TLS segments are top level sections in the ObjectFileELF section
list. The two segments can often have the same program header p_vaddr and
p_paddr values and this can cause section load list i
https://github.com/clayborg edited
https://github.com/llvm/llvm-project/pull/98403
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -0,0 +1,67 @@
+//===-- SBCoreDumpOptions.cpp ---*- 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: Apa
https://github.com/clayborg requested changes to this pull request.
https://github.com/llvm/llvm-project/pull/98403
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -55,8 +56,7 @@ typedef ObjectFile *(*ObjectFileCreateMemoryInstance)(
const lldb::ModuleSP &module_sp, lldb::WritableDataBufferSP data_sp,
const lldb::ProcessSP &process_sp, lldb::addr_t offset);
typedef bool (*ObjectFileSaveCore)(const lldb::ProcessSP &process_sp,
-
@@ -0,0 +1,59 @@
+//===-- SBCoreDumpOptions.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: Apa
@@ -0,0 +1,59 @@
+//===-- SBCoreDumpOptions.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: Apa
@@ -56,18 +56,18 @@ size_t ObjectFileMinidump::GetModuleSpecifications(
}
bool ObjectFileMinidump::SaveCore(const lldb::ProcessSP &process_sp,
- const lldb_private::FileSpec &outfile,
- lldb::SaveCoreStyle &core
@@ -191,9 +191,7 @@ class PluginManager {
GetObjectFileCreateMemoryCallbackForPluginName(llvm::StringRef name);
static Status SaveCore(const lldb::ProcessSP &process_sp,
- const FileSpec &outfile,
- lldb::SaveCoreStyle &core_
@@ -0,0 +1,67 @@
+//===-- SBCoreDumpOptions.cpp ---*- 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: Apa
@@ -1304,9 +1304,11 @@ class CommandObjectProcessSaveCore : public
CommandObjectParsed {
FileSpec output_file(command.GetArgumentAtIndex(0));
FileSystem::Instance().Resolve(output_file);
SaveCoreStyle corefile_style = m_options.m_requested_save_core_sty
@@ -0,0 +1,42 @@
+//===-- CoreDumpOptions.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: Apa
@@ -1222,7 +1223,17 @@ lldb::SBError SBProcess::SaveCore(const char *file_name)
{
lldb::SBError SBProcess::SaveCore(const char *file_name,
const char *flavor,
SaveCoreStyle core_style) {
- LLDB_INSTRUMENT_VA(
@@ -0,0 +1,42 @@
+//===-- CoreDumpOptions.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: Apa
@@ -0,0 +1,59 @@
+//===-- SBCoreDumpOptions.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: Apa
@@ -0,0 +1,42 @@
+//===-- CoreDumpOptions.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: Apa
@@ -0,0 +1,42 @@
+//===-- CoreDumpOptions.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: Apa
@@ -0,0 +1,67 @@
+//===-- SBCoreDumpOptions.cpp ---*- 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: Apa
@@ -0,0 +1,468 @@
+//===-- DILAST.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
98 matches
Mail list logo