[all-commits] [llvm/llvm-project] e3627e: Reland '[TextAPI] Add DylibReader' (#75862)

Cyndy Ishida via All-commits all-commits at lists.llvm.org
Mon Dec 18 16:55:43 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e3627e2690aba0128c502b340b9a392cfae13651
      https://github.com/llvm/llvm-project/commit/e3627e2690aba0128c502b340b9a392cfae13651
  Author: Cyndy Ishida <cyndy_ishida at apple.com>
  Date:   2023-12-18 (Mon, 18 Dec 2023)

  Changed paths:
    A llvm/include/llvm/TextAPI/DylibReader.h
    M llvm/include/llvm/TextAPI/Record.h
    M llvm/include/llvm/TextAPI/RecordsSlice.h
    M llvm/include/llvm/TextAPI/TextAPIError.h
    A llvm/lib/TextAPI/BinaryReader/CMakeLists.txt
    A llvm/lib/TextAPI/BinaryReader/DylibReader.cpp
    M llvm/lib/TextAPI/CMakeLists.txt
    M llvm/tools/llvm-readtapi/CMakeLists.txt

  Log Message:
  -----------
  Reland '[TextAPI] Add DylibReader' (#75862)

> Add support for reading binary Mach-o dynamic libraries. It uses
libObject APIs for extracting information relevant to TAPI and tbd
files. This includes but is not limited to load commands encode data
like install names, current/compat versions, and symbols.

This originally broke because DylibReader uses Object and Object depends
on TextAPI. Breaking this up in a nested library prevents this cycle.




More information about the All-commits mailing list