summaryrefslogtreecommitdiff
path: root/Libraries/LibELF/ELFLoader.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-12-12 21:59:47 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-12-12 21:59:47 +0100
commit0f393148da8c462a142b60b68fd7fd1f024a1787 (patch)
tree067978f322339e3b102aaeb443a9568780fd1e86 /Libraries/LibELF/ELFLoader.h
parent078ee798f790fd62fa6a9b03c07576af44afc4ca (diff)
downloadserenity-0f393148da8c462a142b60b68fd7fd1f024a1787.zip
Kernel: Separate out the symbol offsets in profile output
Instead of saying "main +39" and "main +57" etc, we now have a separate field in /proc/profile for the offset-into-the-symbol.
Diffstat (limited to 'Libraries/LibELF/ELFLoader.h')
-rw-r--r--Libraries/LibELF/ELFLoader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibELF/ELFLoader.h b/Libraries/LibELF/ELFLoader.h
index ab607c10ad..6d80fd31b1 100644
--- a/Libraries/LibELF/ELFLoader.h
+++ b/Libraries/LibELF/ELFLoader.h
@@ -27,7 +27,7 @@ public:
bool has_symbols() const { return m_image.symbol_count(); }
- String symbolicate(u32 address) const;
+ String symbolicate(u32 address, u32* offset = nullptr) const;
private:
bool layout();