summaryrefslogtreecommitdiff
path: root/llvm/lib/TextAPI/PackedVersion.cpp
AgeCommit message (Collapse)Author
2023-09-07[TextAPI] Support more constructors for PackedVersionsCyndy Ishida
TBD files now record minimum deplyoment versions and tapi interfaces with apple system linker by a packed version encoding. Support mapping between that and `VersionTuple`s.
2023-02-22Reland "[TextAPI] Implement TBDv5 Writer"Cyndy Ishida
Create writer for new JSON format. The new JSON format allows practically all attributes to be defined per target in a universal library however the internal representation only allows one for the time being. For now the write will always write those attributes as default available for all targets (install name, compatability & current version, swift abi, flags e.g. flatnamepace & app exenstion safety) rdar://102076911 Reviewed By: ributzka Differential Revision: https://reviews.llvm.org/D144339
2023-02-22Revert "[TextAPI] Implement TBDv5 Writer"Cyndy Ishida
This reverts commit 8217932aabcb271df7eb30e069fdace904299cba. Breaks buildbots.
2023-02-22[TextAPI] Implement TBDv5 WriterCyndy Ishida
Create writer for new JSON format. The new JSON format allows practically all attributes to be defined per target in a universal library however the internal representation only allows one for the time being. For now the write will always write those attributes as default available for all targets (install name, compatability & current version, swift abi, flags e.g. flatnamepace & app exenstion safety) rdar://102076911 Reviewed By: ributzka Differential Revision: https://reviews.llvm.org/D144339
2022-01-26Cleanup LLVMTextAPI headersserge-sans-paille
Based on the output of iwyu. A full rebuild of llvm-project doesn't exhibit any significant false dependencies. The impact on preprocessed output is larger than expected, given the small amount of changes $ clang++ -E -Iinclude -I../llvm/include ../llvm/lib/TextAPI/*.cpp -std=c++14 -fno-rtti -fno-exceptions | wc -l before: 635319 After: 643716 Discourse thread on the topic: https://llvm.discourse.group/t/include-what-you-use-include-cleanup
2021-04-05[TextAPI] move source code files out of subdirectory, NFCCyndy Ishida
TextAPI/ELF has moved out into InterfaceStubs, so theres no longer a need to seperate out TextAPI between formats. Reviewed By: ributzka, int3, #lld-macho Differential Revision: https://reviews.llvm.org/D99811