folly: symbolizer: slow address->{file+line-number} lookup if `.debug_aranges` is...
[folly.git] / folly / experimental / symbolizer / Dwarf.h
index 87f9b175b20bcb7e06681708d0e31fd20f1da99d..ba48486f9dac2a4e4d2f05ecb45a14f0e8bc0972 100644 (file)
@@ -117,6 +117,12 @@ class Dwarf {
 
  private:
   void init();
+  static bool findDebugInfoOffset(uintptr_t address,
+                                  StringPiece aranges,
+                                  uint64_t& offset);
+  bool findLocation(uintptr_t address,
+                    StringPiece& infoEntry,
+                    LocationInfo& info) const;
 
   const ElfFile* elf_;