[Lldb-commits] [PATCH] D113330: [LLDB][Breakpad] Make lldb understand INLINE and INLINE_ORIGIN records in breakpad.
Zequan Wu via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 5 20:53:03 PDT 2021
zequanwu created this revision.
zequanwu added a reviewer: labath.
zequanwu requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: lldb-commits, sstefan1.
Herald added a project: LLDB.
Teach LLDB to understand INLINE and INLINE_ORIGIN records in breakpad.
They have the following formats:
INLINE inline_nest_level call_site_line call_site_file_num origin_num [address size]+
INLINE_ORIGIN origin_num name
`INLNIE_ORIGIN` is simply a string pool for INLINE so that we won't have
duplicated names for inlined functions and can show up anywhere in the symbol
file.
`INLINE` follows immediately after `FUNC` represents the ranges of momery
address that has functions inlined inside the function.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D113330
Files:
lldb/include/lldb/Symbol/Block.h
lldb/source/Plugins/ObjectFile/Breakpad/BreakpadRecords.cpp
lldb/source/Plugins/ObjectFile/Breakpad/BreakpadRecords.h
lldb/source/Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.cpp
lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.h
lldb/source/Symbol/Block.cpp
lldb/test/Shell/SymbolFile/Breakpad/Inputs/inline-record.syms
lldb/test/Shell/SymbolFile/Breakpad/inline-record.test
lldb/unittests/ObjectFile/Breakpad/BreakpadRecordsTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113330.385227.patch
Type: text/x-patch
Size: 19964 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20211106/56b1e799/attachment-0001.bin>
More information about the lldb-commits
mailing list