Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add lookup functions for efficient lookups of addresses when using ↵ | Greg Clayton | 2019-12-05 | 1 | -4/+18 |
| | | | | | | | | | | | | | | | | | GsymReader classes. Summary: Lookup functions are designed to not fully decode a FunctionInfo, LineTable or InlineInfo, they decode only what is needed into a LookupResult object. This allows lookups to avoid costly memory allocations and avoid parsing large amounts of information one a suitable match is found. LookupResult objects contain the address that was looked up, the concrete function address range, the name of the concrete function, and a list of source locations. One for each inline function, and one for the concrete function. This allows one address to turn into multiple frames and improves the signal you get when symbolicating addresses in GSYM files. Reviewers: labath, aprantl Subscribers: mgorny, hiraditya, llvm-commits, lldb-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D70993 | ||||
* | Fix Windows build after r374381 | Nico Weber | 2019-10-10 | 1 | -7/+0 |
| | | | | llvm-svn: 374413 | ||||
* | Unbreak buildbots. | Greg Clayton | 2019-10-10 | 1 | -1/+0 |
| | | | | llvm-svn: 374410 | ||||
* | Unbreak windows buildbots. | Greg Clayton | 2019-10-10 | 1 | -1/+0 |
| | | | | llvm-svn: 374396 | ||||
* | Add GsymCreator and GsymReader. | Greg Clayton | 2019-10-10 | 1 | -0/+274 |
This patch adds the ability to create GSYM files with GsymCreator, and read them with GsymReader. Full testing has been added for both new classes. This patch differs from the original patch https://reviews.llvm.org/D53379 in that is uses a StringTableBuilder class from llvm instead of a custom version. Support for big and little endian files has been added. If the endianness matches the current host, we use efficient extraction for the header, address table and address info offset tables. Differential Revision: https://reviews.llvm.org/D68744 llvm-svn: 374381 |