[all-commits] [llvm/llvm-project] 3b7313: [TextAPI] Make min-os deployment version optional ...

Cyndy Ishida via All-commits all-commits at lists.llvm.org
Fri Jul 28 11:27:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b73139150be1f62e1f79c54a7d4bb46940ad50f
      https://github.com/llvm/llvm-project/commit/3b73139150be1f62e1f79c54a7d4bb46940ad50f
  Author: Cyndy Ishida <cyndy_ishida at apple.com>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

  Changed paths:
    M llvm/lib/TextAPI/TextStubV5.cpp
    M llvm/unittests/TextAPI/TextStubV5Tests.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list