Commit Graph

4 Commits

Author SHA1 Message Date
Cyndy Ishida
2add9c0b65 [TBDGen][Tests] Add apple vendor requirement on package test
TBD files only encode darwin based platforms. This fixes up failing linux bots.

resolves: rdar://118461540
2023-11-15 09:46:30 -08:00
Cyndy Ishida
f869bd7e8a [TBDGen] Write tbd-v5 files by default
* Fixup tests to handle new json based output.
* Use llvm-nm & readtapi to verify tbd file outputs.

resolves: rdar://117604275
2023-11-14 08:06:24 -08:00
Ellie Shin
eefe516781 Update test 2023-10-26 15:18:15 -07:00
Ellie Shin
9311783616 If a package func has a default arg, its symbol is not generated
in TBD, causing a linker error. This is because the default arg
is not generated during silgen. This PR adds a check to make sure
it's represented by SILDeclRef and its linkage emitted.

Resolves rdar://116184295
2023-10-26 11:50:06 -07:00