History log of /llvm-project/llvm/lib/TextAPI/TextStubV5.cpp (Results 1 – 20 of 20)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4
# 515d3f7d 04-Apr-2024 Cyndy Ishida <cyndy_ishida@apple.com>

[TextAPI] Reorder addRPath parameters (#87601)

It matches up with other _attribute_ adding member functions and helps
simplify InterfaceFile assignment for InstallAPI.


Revision tags: llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1
# d9a9872e 27-Jan-2024 Cyndy Ishida <cyndy_ishida@apple.com>

[TextAPI] Rename SymbolKind to EncodeKind (#79622)

A distinction that doesn't _usually_ matter is that the
MachO::SymbolKind is really a mapping of entries in TBD files not
symbols. To better unde

[TextAPI] Rename SymbolKind to EncodeKind (#79622)

A distinction that doesn't _usually_ matter is that the
MachO::SymbolKind is really a mapping of entries in TBD files not
symbols. To better understand this, rename the enum so it represents an
encoding mapped to TBDs as opposed to symbols alone.

For example, it can be a bit confusing that "GlobalSymbol" is a enum
value when all of those values can represent a GlobalSymbol.

show more ...


Revision tags: llvmorg-19-init
# 8fa31845 02-Jan-2024 Cyndy Ishida <cyndy_ishida@apple.com>

[TextAPI] Use function_ref where possible, NFCI (#76732)


Revision tags: llvmorg-17.0.6
# f5016597 17-Nov-2023 Cyndy Ishida <cyndy_ishida@apple.com>

[TextAPI] don't write out empty/zeroed out min os (#72603)


Revision tags: llvmorg-17.0.5
# e17efa60 09-Nov-2023 Cyndy Ishida <cyndy_ishida@apple.com>

[llvm][TextAPI] Add new `not_for_dyld_shared_cache` attribute to file… (#71735)

… format.

Formats >= TBDv4 will now encode new attribute that the system static
linker wil read when tbd files rep

[llvm][TextAPI] Add new `not_for_dyld_shared_cache` attribute to file… (#71735)

… format.

Formats >= TBDv4 will now encode new attribute that the system static
linker wil read when tbd files replace binary dylibs.

show more ...


Revision tags: llvmorg-17.0.4, llvmorg-17.0.3, llvmorg-17.0.2, llvmorg-17.0.1, llvmorg-17.0.0
# 455bf3d1 15-Sep-2023 Cyndy Ishida <cyndy_ishida@apple.com>

[TextAPI] Consolidate TextAPI Reader/Writer APIs. (#66108)

Both Swift & LLD use TextAPI reader/writer apis to interface with TBD
files. Add doc strings to document what each API does. Also, add
sh

[TextAPI] Consolidate TextAPI Reader/Writer APIs. (#66108)

Both Swift & LLD use TextAPI reader/writer apis to interface with TBD
files. Add doc strings to document what each API does. Also, add
shortcut APIs for validating input is a TBD file.

This reduces the differences between downstream and how tapi calls into
these APIs.

show more ...


Revision tags: llvmorg-17.0.0-rc4
# 6da470d7 02-Sep-2023 Kazu Hirata <kazu@google.com>

[llvm] Use range-based for loops (NFC)


Revision tags: llvmorg-17.0.0-rc3
# 913f21ae 11-Aug-2023 Cyndy Ishida <cyndy_ishida@apple.com>

[TextAPI] Express MH_SIM_SUPPORT in tbd files.

This adds a new optional flag sim_support which is the same as
MH_SIM_SUPPORT in the MachO header.

Reviewed By: ributzka

Differential Revision: https

[TextAPI] Express MH_SIM_SUPPORT in tbd files.

This adds a new optional flag sim_support which is the same as
MH_SIM_SUPPORT in the MachO header.

Reviewed By: ributzka

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

show more ...


Revision tags: llvmorg-17.0.0-rc2, llvmorg-17.0.0-rc1
# 3b731391 28-Jul-2023 Cyndy Ishida <cyndy_ishida@apple.com>

[TextAPI] Make min-os deployment version optional in tbd-v5.

The minOS version is recorded in tbd-v5 so the linker can report
diagnostics when a library and client are misconfigured.

Dylibs should

[TextAPI] Make min-os deployment version optional in tbd-v5.

The minOS version is recorded in tbd-v5 so the linker can report
diagnostics when a library and client are misconfigured.

Dylibs should always have a minOS recorded, but in was not recorded in
previous TBD versions. To accommodate the format transition, treat
unrecorded minOS versions as 0.

Reviewed By: zixuw

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

show more ...


Revision tags: llvmorg-18-init
# 6e55370b 14-Jul-2023 Benjamin Kramer <benny.kra@googlemail.com>

Hide some implementation details so they can't cause ODR conflicts. NFC.


Revision tags: llvmorg-16.0.6, llvmorg-16.0.5, llvmorg-16.0.4, llvmorg-16.0.3, llvmorg-16.0.2, llvmorg-16.0.1
# 39748656 23-Mar-2023 Cyndy Ishida <cyndy_ishida@apple.com>

[llvm][TextAPI] Handle implicitly upgraded deployment versions

Sometimes the clang driver will receive a target triple where the
deployment version is too low to support the platform + arch. In thos

[llvm][TextAPI] Handle implicitly upgraded deployment versions

Sometimes the clang driver will receive a target triple where the
deployment version is too low to support the platform + arch. In those
cases, the compiler upgrades the final minOS which is what gets recorded
ultimately by the linker in LC_BUILD_VERSION. TextAPI should also reuse
this logic for capturing minOS in recorded TBDv5 files.

Reviewed By: ributzka

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

show more ...


Revision tags: llvmorg-16.0.0, llvmorg-16.0.0-rc4
# 35e21725 26-Feb-2023 Simon Pilgrim <llvm-dev@redking.me.uk>

[TextAPI] Use const auto& in foreach loop to avoid pass-by-value static analyzer warnings. NFCI.


# 9b29de1c 22-Feb-2023 Cyndy Ishida <cyndy_ishida@apple.com>

[llvm][TextAPI] Clean up minor bugs in YAML TextStub

* Always print out maccatalyst in format
* Traverse symbols via InterfaceFile symbol APIs
* Properly track addition of flags.

Reviewed By: ribut

[llvm][TextAPI] Clean up minor bugs in YAML TextStub

* Always print out maccatalyst in format
* Traverse symbols via InterfaceFile symbol APIs
* Properly track addition of flags.

Reviewed By: ributzka

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

show more ...


# d6f9b97b 22-Feb-2023 Cyndy Ishida <cyndy_ishida@apple.com>

Reland "[TextAPI] Implement TBDv5 Writer"

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 interna

Reland "[TextAPI] Implement TBDv5 Writer"

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

show more ...


# b2b50980 22-Feb-2023 Cyndy Ishida <cyndy_ishida@apple.com>

Revert "[TextAPI] Implement TBDv5 Writer"

This reverts commit 8217932aabcb271df7eb30e069fdace904299cba.

Breaks buildbots.


# 8217932a 22-Feb-2023 Cyndy Ishida <cyndy_ishida@apple.com>

[TextAPI] Implement TBDv5 Writer

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 represe

[TextAPI] Implement TBDv5 Writer

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

show more ...


Revision tags: llvmorg-16.0.0-rc3
# b70d87bc 18-Feb-2023 Cyndy Ishida <cyndy_ishida@apple.com>

[TextAPI] Capture new properties from TBD to InterfaceFile

* Deployment Versions for targets
* Run Search Paths
* Text vs Data Segment attributes to symbols

Reviewed By: pete

Differential Revision

[TextAPI] Capture new properties from TBD to InterfaceFile

* Deployment Versions for targets
* Run Search Paths
* Text vs Data Segment attributes to symbols

Reviewed By: pete

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

show more ...


# 79320a0c 18-Feb-2023 Cyndy Ishida <cyndy_ishida@apple.com>

Reland "[TextAPI] Implement TBDv5 Reader"

Introduce initial reader for TBDv5 which is in JSON. This captures all
the currently understood fields within the internal structure
`InterfaceFile`.
New fi

Reland "[TextAPI] Implement TBDv5 Reader"

Introduce initial reader for TBDv5 which is in JSON. This captures all
the currently understood fields within the internal structure
`InterfaceFile`.
New fields will be followed up in future PRs.

Reviewed By: pete

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

show more ...


# 4be17641 18-Feb-2023 Cyndy Ishida <cyndy_ishida@apple.com>

[TextAPI] wrap returned Errors in std::move


# b861b122 17-Feb-2023 Cyndy Ishida <cyndy_ishida@apple.com>

[TextAPI] Implement TBDv5 Reader

[TextAPI] Implement TBDv5 Reader

Introduce initial reader for TBDv5 which is in JSON. This captures all
the currently understood fields within the inter

[TextAPI] Implement TBDv5 Reader

[TextAPI] Implement TBDv5 Reader

Introduce initial reader for TBDv5 which is in JSON. This captures all
the currently understood fields within the internal structure
`InterfaceFile`.

New fields & follow up tests will be followed up in future PRs.

Reviewed By: pete

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

show more ...