[libunwind] Add missing licenses in test files
authorLouis Dionne <ldionne.2@gmail.com>
Sun, 3 Apr 2022 12:55:57 +0000 (08:55 -0400)
committerLouis Dionne <ldionne.2@gmail.com>
Sun, 3 Apr 2022 12:55:57 +0000 (08:55 -0400)
libunwind/test/frameheadercache_test.pass.cpp
libunwind/test/libunwind_01.pass.cpp
libunwind/test/libunwind_02.pass.cpp
libunwind/test/remember_state_leak.pass.sh.s
libunwind/test/unw_getcontext.pass.cpp

index 9abff5e..6b648e7 100644 (file)
@@ -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"
index d89f8d1..8b4825a 100644 (file)
@@ -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{{.+}}
 
index a4f47c5..c0d6b05 100644 (file)
@@ -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
 
index a02c821..63beb7e 100644 (file)
@@ -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}
index a1f2bae..7e2735e 100644 (file)
@@ -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>