https://github.com/jeffreytan81 closed
https://github.com/llvm/llvm-project/pull/80218
___
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/80218
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/jeffreytan81 updated
https://github.com/llvm/llvm-project/pull/80218
>From abfec9a970dd5fb4d5612638e14208555afe582e Mon Sep 17 00:00:00 2001
From: jeffreytan81
Date: Wed, 31 Jan 2024 15:53:46 -0800
Subject: [PATCH 1/3] Fix debug info size statistics for split dwarf
---
@@ -2667,6 +2667,29 @@ static bool
UpdateCompilerContextForSimpleTemplateNames(TypeQuery ) {
}
return any_context_updated;
}
+
+uint64_t SymbolFileDWARF::GetDebugInfoSize() {
+ DWARFDebugInfo = DebugInfo();
+ uint32_t num_comp_units = info.GetNumUnits();
+
+ uint64_t
@@ -0,0 +1,132 @@
+"""
+Test SBTarget.GetStatistics() reporting for dwo files.
+"""
+
+import json
+import os
+
+from lldbsuite.test import lldbtest, lldbutil
+from lldbsuite.test.decorators import *
+from lldbsuite.test_event.build_exception import BuildError
+
+
@@ -0,0 +1,132 @@
+"""
+Test SBTarget.GetStatistics() reporting for dwo files.
+"""
+
+import json
+import os
+
+from lldbsuite.test import lldbtest, lldbutil
+from lldbsuite.test.decorators import *
+from lldbsuite.test_event.build_exception import BuildError
+
+
@@ -2667,6 +2667,29 @@ static bool
UpdateCompilerContextForSimpleTemplateNames(TypeQuery ) {
}
return any_context_updated;
}
+
+uint64_t SymbolFileDWARF::GetDebugInfoSize() {
+ DWARFDebugInfo = DebugInfo();
+ uint32_t num_comp_units = info.GetNumUnits();
+
+ uint64_t
https://github.com/jeffreytan81 updated
https://github.com/llvm/llvm-project/pull/80218
>From abfec9a970dd5fb4d5612638e14208555afe582e Mon Sep 17 00:00:00 2001
From: jeffreytan81
Date: Wed, 31 Jan 2024 15:53:46 -0800
Subject: [PATCH 1/2] Fix debug info size statistics for split dwarf
---
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
cf401f72e1b5aa6be0719ab45c95c10ea06bec9a...abfec9a970dd5fb4d5612638e14208555afe582e
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: None (jeffreytan81)
Changes
`statistics dump` command relies on `SymbolFile::GetDebugInfoSize()` to get
total debug info size.
The current implementation is missing debug info for split dwarf scenarios
which requires getting debug info
https://github.com/jeffreytan81 created
https://github.com/llvm/llvm-project/pull/80218
`statistics dump` command relies on `SymbolFile::GetDebugInfoSize()` to get
total debug info size.
The current implementation is missing debug info for split dwarf scenarios
which requires getting debug
11 matches
Mail list logo