summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCoredump/Backtrace.h
diff options
context:
space:
mode:
authorDaniel Bertalan <dani@danielbertalan.dev>2021-10-10 08:06:28 +0200
committerLinus Groh <mail@linusgroh.de>2021-10-17 17:09:58 +0100
commit3c3df959580e23870bcc6e5be03e91e817501a63 (patch)
tree652e1b2b893b446749361c635de156ae3bece9e5 /Userland/Libraries/LibCoredump/Backtrace.h
parentbb4bb3c2f413ff6647dc05eb78130794b58a490b (diff)
downloadserenity-3c3df959580e23870bcc6e5be03e91e817501a63.zip
LibCoredump: Show frames from Loader.so if the crash occurs in it
Previously we rejected all entries from Loader.so even if the faulting address was located in it, i.e. the actual issue was with the dynamic loader. We no longer do that to make debugging Loader crashes easier.
Diffstat (limited to 'Userland/Libraries/LibCoredump/Backtrace.h')
-rw-r--r--Userland/Libraries/LibCoredump/Backtrace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibCoredump/Backtrace.h b/Userland/Libraries/LibCoredump/Backtrace.h
index e22ecb4269..a8a300bd62 100644
--- a/Userland/Libraries/LibCoredump/Backtrace.h
+++ b/Userland/Libraries/LibCoredump/Backtrace.h
@@ -47,6 +47,7 @@ private:
void add_entry(const Reader&, FlatPtr ip);
ELFObjectInfo const* object_info_for_region(ELF::Core::MemoryRegionInfo const&);
+ bool m_skip_loader_so { false };
ELF::Core::ThreadInfo m_thread_info;
Vector<Entry> m_entries;
HashMap<String, NonnullOwnPtr<ELFObjectInfo>> m_debug_info_cache;