mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The PR https://github.com/swiftlang/swift/pull/77857 added windows-specific workaround for https://github.com/swiftlang/swift/issues/77856, that happened after https://github.com/swiftlang/swift/pull/77843. Unfortunately this caused a new issue on windows - https://github.com/swiftlang/swift/issues/78119. It looks like windows is suffering from a similar serialization issue as libstdc++, although its even more complex as the callAsFunction is not only a derived function from a base class, the base class although has a static call operator. In any case, the libstdc++ callAsFunction deserialization fix should align with the static operator () deserialization too, so for now make windows use the same workaround as other platforms to avoid the deserialization crash (77856). This change was tested on i686 windows too, ensuring that IR verifier crash no longer happens
84 lines
1.1 KiB
Plaintext
84 lines
1.1 KiB
Plaintext
module StdNumeric {
|
|
header "std-numeric.h"
|
|
requires cplusplus
|
|
export *
|
|
}
|
|
|
|
module StdVector {
|
|
header "std-vector.h"
|
|
requires cplusplus
|
|
export *
|
|
}
|
|
|
|
module StdSpan {
|
|
header "std-span.h"
|
|
requires cplusplus
|
|
export *
|
|
}
|
|
|
|
module StdMap {
|
|
header "std-map.h"
|
|
requires cplusplus
|
|
export *
|
|
}
|
|
|
|
module StdOptional {
|
|
header "std-optional.h"
|
|
requires cplusplus
|
|
export *
|
|
}
|
|
|
|
module StdSet {
|
|
header "std-set.h"
|
|
requires cplusplus
|
|
export *
|
|
}
|
|
|
|
module StdString {
|
|
header "std-string.h"
|
|
requires cplusplus
|
|
export *
|
|
}
|
|
|
|
module StdStringAndVector {
|
|
header "std-string-and-vector.h"
|
|
requires cplusplus
|
|
export *
|
|
}
|
|
|
|
module StdStringView {
|
|
header "std-string-view.h"
|
|
requires cplusplus
|
|
export *
|
|
}
|
|
|
|
module StdPair {
|
|
header "std-pair.h"
|
|
requires cplusplus
|
|
export *
|
|
}
|
|
|
|
module MsvcUseVecIt {
|
|
header "msvc-std-vector-it.h"
|
|
requires cplusplus
|
|
export *
|
|
}
|
|
|
|
module StdUniquePtr {
|
|
header "std-unique-ptr.h"
|
|
requires cplusplus
|
|
export *
|
|
}
|
|
|
|
module StdFunction {
|
|
header "std-function.h"
|
|
requires cplusplus
|
|
export *
|
|
}
|
|
|
|
module NoCXXStdlib {
|
|
header "no-cxx-stdlib.h"
|
|
requires cplusplus
|
|
export *
|
|
}
|