Skip to content

Commit 8d34971

Browse files
committed
Expose debugData() method of ELF object as public.
1 parent 3f30113 commit 8d34971

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libpstack/elf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ class Object : public std::enable_shared_from_this<Object> {
330330
const SymbolVersioning &symbolVersions() const;
331331

332332
BuildID getBuildID() const;
333+
Object::sptr debugData() const; // gets the embedded .gnu_debugdata image
333334

334335
std::optional<VersionIdx> versionIdxForSymbol( size_t symbolIdx ) const;
335336
Context &context;
@@ -363,7 +364,6 @@ class Object : public std::enable_shared_from_this<Object> {
363364
Dynamic &dynamic() const;
364365

365366
const SectionHeaders &sectionHeaders() const;
366-
Object::sptr debugData() const;
367367

368368
// Section plumbing for hash and gnu_hash is the same, just with different
369369
// types and section names, so share the code.

0 commit comments

Comments
 (0)