[all-commits] [llvm/llvm-project] 836534: Add more detailed symbol type categorization, base...

Jason Molenda via All-commits all-commits at lists.llvm.org
Mon Apr 6 14:05:45 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 836534f9970295ff559ef49d6c49958aac6171f9
      https://github.com/llvm/llvm-project/commit/836534f9970295ff559ef49d6c49958aac6171f9
  Author: Jason Molenda <jason at molenda.com>
  Date:   2020-04-06 (Mon, 06 Apr 2020)

  Changed paths:
    M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
    M lldb/test/API/macosx/dyld-trie-symbols/Makefile
    M lldb/test/API/macosx/dyld-trie-symbols/TestDyldTrieSymbols.py
    R lldb/test/API/macosx/dyld-trie-symbols/main.cpp
    A lldb/test/API/macosx/dyld-trie-symbols/main.mm

  Log Message:
  -----------
  Add more detailed symbol type categorization, based on a swift patch by
Greg Clayton a few years ago.

My patch to augment the symbol table in Mach-O files with the
dyld trie exports data structure only categorized symbols as code
or data, but Greg Clayton had a patch to do something similar to
swift a few years ago that had a more extensive categorization of
symbols, as well as extracting some objc class/ivar names from the
entries. This patch is basically just Greg's, updated a bit and
with a test case added to it.

<rdar://problem/50791451>

Differential Revision: https://reviews.llvm.org/D77369




More information about the All-commits mailing list