summaryrefslogtreecommitdiff
path: root/llvm/lib/TextAPI/BinaryReader
AgeCommit message (Collapse)Author
2025-06-04[llvm] Remove unused includes (NFC) (#142733)Kazu Hirata
These are identified by misc-include-cleaner. I've filtered out those that break builds. Also, I'm staying away from llvm-config.h, config.h, and Compiler.h, which likely cause platform- or compiler-specific build failures.
2024-04-14[TextAPI] Apply NFC code fixups (#88639)Cyndy Ishida
* Remove unnecessary cast * Annotate `#endif`
2024-03-29[InstallAPI] Add support for parsing dSYMs (#86852)Cyndy Ishida
InstallAPI does not directly look at object files in the dylib for verification. To help diagnose violations where a declaration is undiscovered in headers, parse the dSYM and look up the source location for symbols. Emitting out the source location with a diagnostic is enough for some IDE's (e.g. Xcode) to have them map back to editable source files.
2024-03-21[InstallAPI] Report exports discovered in binary but not in interface (#86025)Cyndy Ishida
This patch completes the classes of errors installapi can detect.
2024-02-12[TextAPI] Refactor BinaryAttrs to InterfaceFile assignment (#81551)Cyndy Ishida
Create a helper method for this operation, so it can be reused in multiple places. Additonally move FileType enum into its own header to avoid include cycles.
2024-02-06[readtapi] Ensure universal dylibs record the same input path location ↵Cyndy Ishida
across slices (#80875) resolves: https://github.com/llvm/llvm-project/issues/80868
2023-12-20[TextAPI] Add support to convert RecordSlices -> InterfaceFile (#75007)Cyndy Ishida
Introduce RecordVisitor. This is used for different clients that want to extract information out of RecordSlice types. The first and immediate use case is for serializing symbol information into TBD files.
2023-12-19[TextAPI] use unique sorted vector for holding target triples for (#75959)Cyndy Ishida
reading dylibs * This is a better fix than what I originally did to appease CI.
2023-12-18[TextAPI] switch container for holding triples in dylibCyndy Ishida
Resolves buildbot failure reported on windows bot
2023-12-18Reland '[TextAPI] Add DylibReader' (#75862)Cyndy Ishida
> 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.