|
| 1 | +// RUN: %empty-directory(%t) |
| 2 | +// RUN: %llvm-nm -g --defined-only -f just-symbols %stdlib_dir/arm64/libswiftSynchronization.dylib > %t/symbols |
| 3 | +// RUN: %abi-symbol-checker %s %t/symbols --base %S/synchronization.swift |
| 4 | +// RUN: diff -u %S/../../Inputs/macOS/arm64/synchronization/baseline-asserts %t/symbols |
| 5 | + |
| 6 | +// REQUIRES: swift_stdlib_asserts |
| 7 | +// REQUIRES: STDLIB_VARIANT=macosx-arm64 |
| 8 | + |
| 9 | +// *** DO NOT DISABLE OR XFAIL THIS TEST. *** (See comment below.) |
| 10 | + |
| 11 | +// Welcome, Build Wrangler! |
| 12 | +// |
| 13 | +// This file lists APIs that have recently changed in a way that potentially |
| 14 | +// indicates an ABI- or source-breaking problem. |
| 15 | +// |
| 16 | +// A failure in this test indicates that there is a potential breaking change in |
| 17 | +// the Standard Library. If you observe a failure outside of a PR test, please |
| 18 | +// reach out to the Standard Library team directly to make sure this gets |
| 19 | +// resolved quickly! If your own PR fails in this test, you probably have an |
| 20 | +// ABI- or source-breaking change in your commits. Please go and fix it. |
| 21 | +// |
| 22 | +// Please DO NOT DISABLE THIS TEST. In addition to ignoring the current set of |
| 23 | +// ABI breaks, XFAILing this test also silences any future ABI breaks that may |
| 24 | +// land on this branch, which simply generates extra work for the next person |
| 25 | +// that picks up the mess. |
| 26 | +// |
| 27 | +// Instead of disabling this test, you'll need to extend the list of expected |
| 28 | +// changes at the bottom. (You'll also need to do this if your own PR triggers |
| 29 | +// false positives, or if you have special permission to break things.) You can |
| 30 | +// find a diff of what needs to be added in the output of the failed test run. |
| 31 | +// The order of lines doesn't matter, and you can also include comments to refer |
| 32 | +// to any bugs you filed. |
| 33 | +// |
| 34 | +// Thank you for your help ensuring the stdlib remains compatible with its past! |
| 35 | +// -- Your friendly stdlib engineers |
| 36 | + |
| 37 | +// *** NOTE: *** |
| 38 | +// You will normally add new entries in 'abi/macOS/arm64/synchronization.swift' |
| 39 | +// instead of this file. This file is dedicated for assert only symbols. |
| 40 | + |
| 41 | +//===----------------------------------------------------------------------===// |
| 42 | +// Synchronization Symbols |
| 43 | +//===----------------------------------------------------------------------===// |
0 commit comments