[llvm] [NFC][DwarfLowLevel] Make getRelocatedValueImpl public (PR #160618)

via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 24 17:55:33 PDT 2025


https://github.com/Sterling-Augustine updated https://github.com/llvm/llvm-project/pull/160618

>From 1e86e8c9ed51a8d7e325ea7b8c85819cd8d7cc5a Mon Sep 17 00:00:00 2001
From: Sterling Augustine <saugustine at google.com>
Date: Wed, 24 Sep 2025 16:59:03 -0700
Subject: [PATCH 1/2] [NFC][DwarfLowLevel] Make getRelocatedValueImpl public

Without this, the class is useless.
---
 .../llvm/DebugInfo/DWARF/LowLevel/DWARFDataExtractorSimple.h     | 1 +
 1 file changed, 1 insertion(+)

diff --git a/llvm/include/llvm/DebugInfo/DWARF/LowLevel/DWARFDataExtractorSimple.h b/llvm/include/llvm/DebugInfo/DWARF/LowLevel/DWARFDataExtractorSimple.h
index 52af205257627..3cc3f7ab41256 100644
--- a/llvm/include/llvm/DebugInfo/DWARF/LowLevel/DWARFDataExtractorSimple.h
+++ b/llvm/include/llvm/DebugInfo/DWARF/LowLevel/DWARFDataExtractorSimple.h
@@ -179,6 +179,7 @@ class DWARFDataExtractorBase : public DataExtractor {
 
 class DWARFDataExtractorSimple
     : public DWARFDataExtractorBase<DWARFDataExtractorSimple> {
+ public:
   using DWARFDataExtractorBase::DWARFDataExtractorBase;
 
   LLVM_ABI uint64_t getRelocatedValueImpl(uint32_t Size, uint64_t *Off,

>From 81c3955d7e76a1b75d2d109287e2a6c69348c0eb Mon Sep 17 00:00:00 2001
From: Sterling Augustine <saugustine at google.com>
Date: Wed, 24 Sep 2025 17:55:17 -0700
Subject: [PATCH 2/2] spacing

---
 .../llvm/DebugInfo/DWARF/LowLevel/DWARFDataExtractorSimple.h    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/include/llvm/DebugInfo/DWARF/LowLevel/DWARFDataExtractorSimple.h b/llvm/include/llvm/DebugInfo/DWARF/LowLevel/DWARFDataExtractorSimple.h
index 3cc3f7ab41256..ffe0b50b036ac 100644
--- a/llvm/include/llvm/DebugInfo/DWARF/LowLevel/DWARFDataExtractorSimple.h
+++ b/llvm/include/llvm/DebugInfo/DWARF/LowLevel/DWARFDataExtractorSimple.h
@@ -179,7 +179,7 @@ class DWARFDataExtractorBase : public DataExtractor {
 
 class DWARFDataExtractorSimple
     : public DWARFDataExtractorBase<DWARFDataExtractorSimple> {
- public:
+public:
   using DWARFDataExtractorBase::DWARFDataExtractorBase;
 
   LLVM_ABI uint64_t getRelocatedValueImpl(uint32_t Size, uint64_t *Off,



More information about the llvm-commits mailing list