Skip to content

Conversation

@DavidSpickett
Copy link
Collaborator

Not that we ever do that, because this is unused code, but if someone was debugging lldb I guess they'd call this.

Was missed in #145645

Relates to #135208

Not that we ever do that, because this is unused code, but if
someone was debugging lldb I guess they'd call this.

Was missed in llvm#145645

Relates to llvm#135208
@llvmbot
Copy link
Member

llvmbot commented Jul 2, 2025

@llvm/pr-subscribers-lldb

Author: David Spickett (DavidSpickett)

Changes

Not that we ever do that, because this is unused code, but if someone was debugging lldb I guess they'd call this.

Was missed in #145645

Relates to #135208


Full diff: https://github.com/llvm/llvm-project/pull/146686.diff

1 Files Affected:

  • (modified) lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp (+1-2)
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp
index 2e98e3c33acaf..40e2a9669e258 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp
@@ -420,8 +420,7 @@ void DWARFFormValue::Dump(Stream &s) const {
       DumpAddress(s.AsRawOstream(), uvalue, sizeof(uint64_t) * 2);
     else
       DumpAddress(s.AsRawOstream(), uvalue,
-                  4 * 2); // 4 for DWARF32, 8 for DWARF64, but we don't
-                          // support DWARF64 yet
+                  m_unit->GetFormParams().getRefAddrByteSize());
     break;
   }
   case DW_FORM_ref1:

@DavidSpickett
Copy link
Collaborator Author

@HemangGadhavi (can't add you to reviewers for whatever reason)

@HemangGadhavi
Copy link
Contributor

@HemangGadhavi (can't add you to reviewers for whatever reason)

May be I do not have maintainer access yet ..?? Not sure.

@DavidSpickett
Copy link
Collaborator Author

May be I do not have maintainer access yet ..?? Not sure.

That'll be it, for some reason I thought having a merged PR would imply you could review.

@DavidSpickett
Copy link
Collaborator Author

DavidSpickett commented Jul 3, 2025

Well, you clearly can review but I cannot add you to reviewers 🤣 Permissions are such mysterious things.

@DavidSpickett DavidSpickett merged commit d8023e7 into llvm:main Jul 3, 2025
9 checks passed
@DavidSpickett DavidSpickett deleted the lldb-dwarf64 branch July 3, 2025 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants