diff options
Diffstat (limited to 'lib/tsan/go')
| -rw-r--r-- | lib/tsan/go/test.c | 7 | ||||
| -rw-r--r-- | lib/tsan/go/tsan_go.cc | 9 | 
2 files changed, 7 insertions, 9 deletions
diff --git a/lib/tsan/go/test.c b/lib/tsan/go/test.c index c484774caeb9..61be48442c80 100644 --- a/lib/tsan/go/test.c +++ b/lib/tsan/go/test.c @@ -1,9 +1,8 @@  //===-- test.c ------------------------------------------------------------===//  // -//                     The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception  //  //===----------------------------------------------------------------------===//  // diff --git a/lib/tsan/go/tsan_go.cc b/lib/tsan/go/tsan_go.cc index 5f2507b7df1d..dfd1e1da158f 100644 --- a/lib/tsan/go/tsan_go.cc +++ b/lib/tsan/go/tsan_go.cc @@ -1,9 +1,8 @@  //===-- tsan_go.cc --------------------------------------------------------===//  // -//                     The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception  //  //===----------------------------------------------------------------------===//  // @@ -214,7 +213,7 @@ void __tsan_go_start(ThreadState *parent, ThreadState **pthr, void *pc) {    ThreadState *thr = AllocGoroutine();    *pthr = thr;    int goid = ThreadCreate(parent, (uptr)pc, 0, true); -  ThreadStart(thr, goid, 0, /*workerthread*/ false); +  ThreadStart(thr, goid, 0, ThreadType::Regular);  }  void __tsan_go_end(ThreadState *thr) {  | 
