Skip to content

Commit 272c466

Browse files
committed
Update master to build with Xcode 12 beta
1 parent 1d4f617 commit 272c466

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+123
-94
lines changed

benchmark/cmake/modules/AddSwiftBenchmarkSuite.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,8 +660,11 @@ function (swift_benchmark_compile_archopts)
660660
"-m${triple_platform}-version-min=${ver}"
661661
"-lobjc"
662662
"-L${SWIFT_LIBRARY_PATH}/${BENCH_COMPILE_ARCHOPTS_PLATFORM}"
663+
"-L${sdk}/usr/lib/swift"
663664
"-Xlinker" "-rpath"
664665
"-Xlinker" "${SWIFT_LINK_RPATH}"
666+
"-Xlinker" "-rpath"
667+
"-Xlinker" "/usr/lib/swift"
665668
${bench_library_objects}
666669
${bench_driver_objects}
667670
${ld64_add_ast_path_opts}

stdlib/cmake/modules/AddSwiftStdlib.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,6 +1120,8 @@ function(_add_swift_target_library_single target name)
11201120
list(APPEND library_search_directories "$ENV{SDKROOT}/usr/lib/swift")
11211121
endif()
11221122

1123+
list(APPEND library_search_directories "${SWIFT_SDK_${sdk}_ARCH_${arch}_PATH}/usr/lib/swift")
1124+
11231125
# Add variant-specific flags.
11241126
if(SWIFTLIB_SINGLE_TARGET_LIBRARY)
11251127
set(build_type "${SWIFT_STDLIB_BUILD_TYPE}")

stdlib/public/Differentiation/FloatingPointDifferentiation.swift.gyb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ bits = self_type.bits
2121

2222
def Availability(bits):
2323
if bits == 16:
24-
return '@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)'
24+
return '@available(macOS 10.16, iOS 14.0, tvOS 14.0, watchOS 7.0, *)'
2525
return ''
2626
}%
2727

stdlib/public/core/Availability.swift

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,20 @@ public func _stdlib_isOSVersionAtLeast(
4242
return false._value
4343
#endif
4444
}
45+
46+
#if os(macOS)
47+
// This is a magic entry point known to the compiler. It is called in
48+
// generated code for API availability checking.
49+
@_semantics("availability.osversion")
50+
@_effects(readnone)
51+
public func _stdlib_isOSVersionAtLeastOrVariantVersionAtLeast(
52+
_ major: Builtin.Word,
53+
_ minor: Builtin.Word,
54+
_ patch: Builtin.Word,
55+
_ variantMajor: Builtin.Word,
56+
_ variantMinor: Builtin.Word,
57+
_ variantPatch: Builtin.Word
58+
) -> Builtin.Int1 {
59+
return _stdlib_isOSVersionAtLeast(major, minor, patch)
60+
}
61+
#endif

stdlib/public/core/CTypes.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public typealias CLong = Int
5757
public typealias CLongLong = Int64
5858

5959
/// The C '_Float16' type.
60-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
60+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
6161
public typealias CFloat16 = Float16
6262

6363
/// The C 'float' type.

stdlib/public/core/Codable.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4730,7 +4730,7 @@ extension RawRepresentable where RawValue == Float, Self: Decodable {
47304730
}
47314731
}
47324732

4733-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
4733+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
47344734
extension Float16: Codable {
47354735
/// Creates a new instance by decoding from the given decoder.
47364736
///

stdlib/public/core/CollectionAlgorithms.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ extension Collection {
231231
/// returns `true`.
232232
///
233233
/// - Complexity: O(*n*), where *n* is the length of the collection.
234-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
234+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
235235
public func subranges(where predicate: (Element) throws -> Bool) rethrows
236236
-> RangeSet<Index>
237237
{
@@ -267,7 +267,7 @@ extension Collection where Element: Equatable {
267267
/// `element`.
268268
///
269269
/// - Complexity: O(*n*), where *n* is the length of the collection.
270-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
270+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
271271
public func subranges(of element: Element) -> RangeSet<Index> {
272272
subranges(where: { $0 == element })
273273
}

stdlib/public/core/DiscontiguousSlice.swift

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
/// A collection wrapper that provides access to the elements of a collection,
1414
/// indexed by a set of indices.
15-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
15+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
1616
@frozen
1717
public struct DiscontiguousSlice<Base: Collection> {
1818
/// The collection that the indexed collection wraps.
@@ -22,7 +22,7 @@ public struct DiscontiguousSlice<Base: Collection> {
2222
public var subranges: RangeSet<Base.Index>
2323
}
2424

25-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
25+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
2626
extension DiscontiguousSlice {
2727
/// A position in an `DiscontiguousSlice`.
2828
@frozen
@@ -39,10 +39,10 @@ extension DiscontiguousSlice {
3939
}
4040
}
4141

42-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
42+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
4343
extension DiscontiguousSlice.Index: Hashable where Base.Index: Hashable {}
4444

45-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
45+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
4646
extension DiscontiguousSlice: Collection {
4747
public typealias SubSequence = Self
4848

@@ -83,7 +83,7 @@ extension DiscontiguousSlice: Collection {
8383
}
8484
}
8585

86-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
86+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
8787
extension DiscontiguousSlice {
8888
public var count: Int {
8989
var c = 0
@@ -102,7 +102,7 @@ extension DiscontiguousSlice {
102102
}
103103
}
104104

105-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
105+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
106106
extension DiscontiguousSlice: BidirectionalCollection
107107
where Base: BidirectionalCollection
108108
{
@@ -122,7 +122,7 @@ extension DiscontiguousSlice: BidirectionalCollection
122122
}
123123
}
124124

125-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
125+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
126126
extension DiscontiguousSlice: MutableCollection where Base: MutableCollection {
127127
public subscript(i: Index) -> Base.Element {
128128
get {
@@ -145,7 +145,7 @@ extension Collection {
145145
/// - Returns: A collection of the elements at the positions in `subranges`.
146146
///
147147
/// - Complexity: O(1)
148-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
148+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
149149
public subscript(subranges: RangeSet<Index>) -> DiscontiguousSlice<Self> {
150150
DiscontiguousSlice(base: self, subranges: subranges)
151151
}
@@ -162,7 +162,7 @@ extension MutableCollection {
162162
/// - Complexity: O(1) to access the elements, O(*m*) to mutate the
163163
/// elements at the positions in `subranges`, where *m* is the number of
164164
/// elements indicated by `subranges`.
165-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
165+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
166166
public subscript(subranges: RangeSet<Index>) -> DiscontiguousSlice<Self> {
167167
get {
168168
DiscontiguousSlice(base: self, subranges: subranges)
@@ -196,7 +196,7 @@ extension Collection {
196196
/// - Returns: A collection of the elements that are not in `subranges`.
197197
///
198198
/// - Complexity: O(*n*), where *n* is the length of the collection.
199-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
199+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
200200
public func removingSubranges(
201201
_ subranges: RangeSet<Index>
202202
) -> DiscontiguousSlice<Self> {

stdlib/public/core/FloatingPointParsing.swift.gyb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ internal func _isspace_clocale(_ u: UTF16.CodeUnit) -> Bool {
4646

4747
//===--- Parsing ----------------------------------------------------------===//
4848
%if bits == 16:
49-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
49+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
5050
%end
5151
extension ${Self}: LosslessStringConvertible {
5252
/// Creates a new instance from the given string.
@@ -134,7 +134,7 @@ extension ${Self}: LosslessStringConvertible {
134134
%if bits == 16:
135135
self.init(Substring(text))
136136
%else:
137-
if #available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *) {
137+
if #available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *) {
138138
self.init(Substring(text))
139139
} else {
140140
self = 0.0
@@ -164,7 +164,7 @@ extension ${Self}: LosslessStringConvertible {
164164
// In particular, we still have to export
165165
// _swift_stdlib_strtoXYZ_clocale()
166166
// as ABI to support old compiled code that still requires it.
167-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
167+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
168168
public init?(_ text: Substring) {
169169
self = 0.0
170170
let success = withUnsafeMutablePointer(to: &self) { p -> Bool in

stdlib/public/core/FloatingPointTypes.swift.gyb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ RawSignificand = 'UInt' + str(SignificandSize)
4040

4141
def Availability(bits):
4242
if bits == 16:
43-
return '@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)'
43+
return '@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)'
4444
return ''
4545

4646
if Self == 'Float16':

stdlib/public/core/IntegerTypes.swift.gyb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,7 +1152,7 @@ public struct ${Self}
11521152
/// `source` must be representable in this type after rounding toward
11531153
/// zero.
11541154
% if FloatType == 'Float16':
1155-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
1155+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
11561156
% end
11571157
@_transparent
11581158
public init(_ source: ${FloatType}) {
@@ -1182,7 +1182,7 @@ public struct ${Self}
11821182
///
11831183
/// - Parameter source: A floating-point value to convert to an integer.
11841184
% if FloatType == 'Float16':
1185-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
1185+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
11861186
% end
11871187
@_transparent
11881188
public init?(exactly source: ${FloatType}) {

stdlib/public/core/Misc.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@ func _typeName(_ type: Any.Type, qualified: Bool = true) -> String {
7878
UnsafeBufferPointer(start: stringPtr, count: count)).0
7979
}
8080

81-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
81+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
8282
@_silgen_name("swift_getMangledTypeName")
8383
public func _getMangledTypeName(_ type: Any.Type)
8484
-> (UnsafePointer<UInt8>, Int)
8585

8686
/// Returns the mangled name for a given type.
87-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
87+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
8888
public // SPI
8989
func _mangledTypeName(_ type: Any.Type) -> String? {
9090
let (stringPtr, count) = _getMangledTypeName(type)

stdlib/public/core/MutableCollection.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ extension MutableCollection {
290290
/// - Returns: The new bounds of the moved elements.
291291
///
292292
/// - Complexity: O(*n* log *n*) where *n* is the length of the collection.
293-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
293+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
294294
@discardableResult
295295
public mutating func moveSubranges(
296296
_ subranges: RangeSet<Index>, to insertionPoint: Index

stdlib/public/core/RangeReplaceableCollection.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1158,7 +1158,7 @@ extension RangeReplaceableCollection {
11581158
/// - Parameter subranges: The indices of the elements to remove.
11591159
///
11601160
/// - Complexity: O(*n*), where *n* is the length of the collection.
1161-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
1161+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
11621162
public mutating func removeSubranges(_ subranges: RangeSet<Index>) {
11631163
guard !subranges.isEmpty else {
11641164
return
@@ -1188,7 +1188,7 @@ extension MutableCollection where Self: RangeReplaceableCollection {
11881188
/// - Parameter subranges: The indices of the elements to remove.
11891189
///
11901190
/// - Complexity: O(*n*), where *n* is the length of the collection.
1191-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
1191+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
11921192
public mutating func removeSubranges(_ subranges: RangeSet<Index>) {
11931193
guard let firstRange = subranges.ranges.first else {
11941194
return

stdlib/public/core/RangeSet.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
///
2727
/// numbers.moveSubranges(negativeSubranges, to: 0)
2828
/// // numbers == [-5, -3, -9, 10, 12, 14, 15]
29-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
29+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
3030
public struct RangeSet<Bound: Comparable> {
3131
internal var _ranges = _RangeSetStorage<Bound>()
3232

@@ -238,15 +238,15 @@ public struct RangeSet<Bound: Comparable> {
238238
}
239239
}
240240

241-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
241+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
242242
extension RangeSet: Equatable {}
243243

244-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
244+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
245245
extension RangeSet: Hashable where Bound: Hashable {}
246246

247247
// MARK: - Range Collection
248248

249-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
249+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
250250
extension RangeSet {
251251
/// A collection of the ranges that make up a range set.
252252
public struct Ranges: RandomAccessCollection {
@@ -271,7 +271,7 @@ extension RangeSet {
271271

272272
// MARK: - Collection APIs
273273

274-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
274+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
275275
extension RangeSet {
276276
/// Creates a new range set containing ranges that contain only the
277277
/// specified indices in the given collection.
@@ -365,7 +365,7 @@ extension RangeSet {
365365

366366
// These methods only depend on the ranges that comprise the range set, so
367367
// we can provide them even when we can't provide `SetAlgebra` conformance.
368-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
368+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
369369
extension RangeSet {
370370
/// Adds the contents of the given range set to this range set.
371371
///
@@ -549,7 +549,7 @@ extension RangeSet {
549549
}
550550
}
551551

552-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
552+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
553553
extension RangeSet: CustomStringConvertible {
554554
public var description: String {
555555
let rangesDescription = _ranges

stdlib/public/core/Runtime.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ internal func _float16ToStringImpl(
303303
_ debug: Bool
304304
) -> Int
305305

306-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
306+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
307307
internal func _float16ToString(
308308
_ value: Float16,
309309
debug: Bool

stdlib/public/core/SIMDVectorTypes.swift.gyb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ extension ${Self}: SIMDScalar {
254254

255255
%for (Self, bits) in [('Float16',16), ('Float',32), ('Double',64)]:
256256
%if bits == 16:
257-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
257+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
258258
%end
259259
extension ${Self} : SIMDScalar {
260260

stdlib/public/core/String.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ extension String {
501501
/// memory with room for `capacity` UTF-8 code units, initializes
502502
/// that memory, and returns the number of initialized elements.
503503
@inline(__always)
504-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
504+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
505505
public init(
506506
unsafeUninitializedCapacity capacity: Int,
507507
initializingUTF8With initializer: (

test/ClangImporter/cfuncs_parse.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func test_powl() {
7272
}
7373
#endif
7474

75-
@available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *)
75+
@available(macOS 10.16, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
7676
func test_f16() {
7777
var x = Float16.zero
7878
f16ptrfunc(&x)

test/Driver/verbose.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// RUN: %swiftc_driver -driver-print-jobs -target x86_64-unknown-linux-gnu -v %s 2>&1 | %FileCheck %s -check-prefix=VERBOSE_CLANG
22
// RUN: %swiftc_driver -driver-print-jobs -target x86_64-unknown-windows-msvc -v %s 2>&1 | %FileCheck %s -check-prefix=VERBOSE_CLANG
33

4-
// VERBOSE_CLANG: clang{{.*}} -v -o
4+
// VERBOSE_CLANG: clang{{.*}} -v {{.*}}-o

test/IRGen/class_update_callback_without_fixed_layout.sil

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// RUN: %target-swift-frontend -I %t -emit-ir -enable-library-evolution -O %s -target %target-pre-stable-abi-triple
66

77
// REQUIRES: objc_interop
8+
// UNSUPPORTED: OS=iosmac
89
// UNSUPPORTED: CPU=arm64e
910

1011
// With the old deployment target, these classes use the 'singleton' metadata

test/IRGen/eager-class-initialization.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) %s -emit-ir -target %target-pre-stable-abi-triple | %FileCheck %s -DINT=i%target-ptrsize --check-prefix=CHECK --check-prefix=CHECK-OLD
44

55
// REQUIRES: objc_interop
6+
// UNSUPPORTED: OS=iosmac
67
// UNSUPPORTED: CPU=arm64e
78

89
// See also eager-class-initialization-stable-abi.swift, for the stable ABI

test/Interpreter/SDK/autolinking.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ if global() != 42 {
3636

3737
let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: -2)
3838
if dlsym(RTLD_DEFAULT, "global") == nil {
39-
print(String(cString: dlerror()))
39+
if let err = dlerror() {
40+
print(String(cString: err))
41+
} else {
42+
print("Unknown dlsym error")
43+
}
4044
exit(EXIT_FAILURE)
4145
}
4246
#endif

0 commit comments

Comments
 (0)