Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion test/LinkerSections/function_sections.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@
// GOLD: .text.$s16FunctionSections5func1yyF

// LLD: .text.$s16FunctionSections5func1yyF
// LLD-NOT: .text.$s16FunctionSections5func2yyF
4 changes: 2 additions & 2 deletions test/Sanitizers/tsan/tsan.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ var racey_x: Int;

// TSan %deflake as part of the test.
for _ in 1...5 {
#if os(macOS) || os(iOS)
#if os(macOS) || os(iOS) || os(FreeBSD)
var t : pthread_t?
#else
var t : pthread_t = 0
Expand All @@ -61,7 +61,7 @@ for _ in 1...5 {

return nil
}, nil)
#if os(macOS) || os(iOS)
#if os(macOS) || os(iOS) || os(FreeBSD)
threads.append(t!)
#else
threads.append(t)
Expand Down
2 changes: 1 addition & 1 deletion validation-test/Sanitizers/tsan-inout.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var gInThread2: () -> () = { }
// Spawn two threads, run the two passed in closures simultaneously, and
// join them.
func testRace(name: String, thread inThread1: @escaping () -> (), thread inThread2: @escaping () -> ()) {
#if canImport(Darwin)
#if canImport(Darwin) || os(FreeBSD)
var thread1: pthread_t?
var thread2: pthread_t?
#else
Expand Down
1 change: 1 addition & 0 deletions validation-test/stdlib/SIMDParameterPassing.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// REQUIRES: executable_test
// REQUIRES: long_test
// XFAIL: OS=linux-gnu, OS=linux-android
// UNSUPPORTED: OS=freebsd

import StdlibUnittest
import simd
Expand Down