mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The static version of the standard library was leaking symbols in the `llvm::` namespace which would result in ODR violations were the artifact linking against `LLVMSupport` (via another dependency). In particular, `llvm::SmallVector` and `llvm::StringSwitch` symbols were being leaked. This adds a test case specifically for the static variant of the library. The dynamic variant of the library is already tested in a separate test.
6 lines
186 B
Plaintext
6 lines
186 B
Plaintext
// RUN: %llvm-nm --defined-only -C %target-static-stdlib-path/libswiftCore.a | %FileCheck --allow-empty %s
|
|
// CHECK-NOT: [^:]llvm::
|
|
|
|
// REQUIRES: OS=linux-gnu
|
|
// REQUIRES: static_stdlib
|