[PATCH] D79048: Make getCompileUnitForAddress public.

Sterling Augustine via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 28 17:18:23 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG3421d1ede4c1: Make getCompileUnitForAddress public. (authored by saugustine).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79048/new/

https://reviews.llvm.org/D79048

Files:
  llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h


Index: llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h
===================================================================
--- llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h
+++ llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h
@@ -394,16 +394,17 @@
     return getDWARFObj().getFile()->getArch();
   }
 
-private:
-  /// Parse a macro[.dwo] or macinfo[.dwo] section.
-  std::unique_ptr<DWARFDebugMacro>
-  parseMacroOrMacinfo(MacroSecType SectionType);
-
   /// Return the compile unit which contains instruction with provided
   /// address.
   /// TODO: change input parameter from "uint64_t Address"
   ///       into "SectionedAddress Address"
   DWARFCompileUnit *getCompileUnitForAddress(uint64_t Address);
+
+private:
+  /// Parse a macro[.dwo] or macinfo[.dwo] section.
+  std::unique_ptr<DWARFDebugMacro>
+  parseMacroOrMacinfo(MacroSecType SectionType);
+
   void addLocalsForDie(DWARFCompileUnit *CU, DWARFDie Subprogram, DWARFDie Die,
                        std::vector<DILocal> &Result);
 };


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79048.260802.patch
Type: text/x-patch
Size: 1009 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200429/b924866f/attachment.bin>


More information about the llvm-commits mailing list