diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2022-04-03 15:55:57 +0300 |
---|---|---|
committer | Louis Dionne <ldionne.2@gmail.com> | 2022-04-03 15:55:57 +0300 |
commit | 282b3eb72372f6a0139923d326b05fc16d86c9fa (patch) | |
tree | 9eccb7a81bbdd02192080ad21a72c7613c0c3454 /libunwind | |
parent | fb65aaf0be09936e657d339f3dc8e62666a41956 (diff) |
[libunwind] Add missing licenses in test files
Diffstat (limited to 'libunwind')
-rw-r--r-- | libunwind/test/frameheadercache_test.pass.cpp | 9 | ||||
-rw-r--r-- | libunwind/test/libunwind_01.pass.cpp | 9 | ||||
-rw-r--r-- | libunwind/test/libunwind_02.pass.cpp | 9 | ||||
-rw-r--r-- | libunwind/test/remember_state_leak.pass.sh.s | 12 | ||||
-rw-r--r-- | libunwind/test/unw_getcontext.pass.cpp | 9 |
5 files changed, 46 insertions, 2 deletions
diff --git a/libunwind/test/frameheadercache_test.pass.cpp b/libunwind/test/frameheadercache_test.pass.cpp index 9abff5e8cda9..6b648e728491 100644 --- a/libunwind/test/frameheadercache_test.pass.cpp +++ b/libunwind/test/frameheadercache_test.pass.cpp @@ -1,3 +1,12 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// 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 +// +//===----------------------------------------------------------------------===// + // The other libunwind tests don't test internal interfaces, so the include path // is a little wonky. #include "../src/config.h" diff --git a/libunwind/test/libunwind_01.pass.cpp b/libunwind/test/libunwind_01.pass.cpp index d89f8d16ce70..8b4825ac30dc 100644 --- a/libunwind/test/libunwind_01.pass.cpp +++ b/libunwind/test/libunwind_01.pass.cpp @@ -1,3 +1,12 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// 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 +// +//===----------------------------------------------------------------------===// + // TODO: Investigate these failures on x86_64 macOS back deployment // UNSUPPORTED: target=x86_64-apple-darwin{{.+}} diff --git a/libunwind/test/libunwind_02.pass.cpp b/libunwind/test/libunwind_02.pass.cpp index a4f47c521858..c0d6b05c2a72 100644 --- a/libunwind/test/libunwind_02.pass.cpp +++ b/libunwind/test/libunwind_02.pass.cpp @@ -1,3 +1,12 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// 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 +// +//===----------------------------------------------------------------------===// + // TODO: Figure out why this fails with Memory Sanitizer. // XFAIL: msan diff --git a/libunwind/test/remember_state_leak.pass.sh.s b/libunwind/test/remember_state_leak.pass.sh.s index a02c8213c669..63beb7e4701e 100644 --- a/libunwind/test/remember_state_leak.pass.sh.s +++ b/libunwind/test/remember_state_leak.pass.sh.s @@ -1,7 +1,15 @@ +#===------------------------------------------------------------------------===# +# +# 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 +# +#===------------------------------------------------------------------------===# + # REQUIRES: target={{x86_64-.+-linux-gnu}} -// Inline assembly isn't supported by Memory Sanitizer -// UNSUPPORTED: msan +# Inline assembly isn't supported by Memory Sanitizer +# UNSUPPORTED: msan # RUN: %{build} -no-pie # RUN: %{run} diff --git a/libunwind/test/unw_getcontext.pass.cpp b/libunwind/test/unw_getcontext.pass.cpp index a1f2baee12b4..7e2735e418be 100644 --- a/libunwind/test/unw_getcontext.pass.cpp +++ b/libunwind/test/unw_getcontext.pass.cpp @@ -1,3 +1,12 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// 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 +// +//===----------------------------------------------------------------------===// + #include <assert.h> #include <libunwind.h> |