diff --git a/lldb/test/API/android/platform/main.cpp b/lldb/test/API/android/platform/main.cpp --- a/lldb/test/API/android/platform/main.cpp +++ b/lldb/test/API/android/platform/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int main () { return 0; diff --git a/lldb/test/API/api/check_public_api_headers/main.cpp.template b/lldb/test/API/api/check_public_api_headers/main.cpp.template --- a/lldb/test/API/api/check_public_api_headers/main.cpp.template +++ b/lldb/test/API/api/check_public_api_headers/main.cpp.template @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 %include_SB_APIs% diff --git a/lldb/test/API/benchmarks/expression/main.cpp b/lldb/test/API/benchmarks/expression/main.cpp --- a/lldb/test/API/benchmarks/expression/main.cpp +++ b/lldb/test/API/benchmarks/expression/main.cpp @@ -1,10 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 class Point { diff --git a/lldb/test/API/commands/add-dsym/uuid/main.cpp.template b/lldb/test/API/commands/add-dsym/uuid/main.cpp.template --- a/lldb/test/API/commands/add-dsym/uuid/main.cpp.template +++ b/lldb/test/API/commands/add-dsym/uuid/main.cpp.template @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 int diff --git a/lldb/test/API/commands/apropos/with-process/main.cpp b/lldb/test/API/commands/apropos/with-process/main.cpp --- a/lldb/test/API/commands/apropos/with-process/main.cpp +++ b/lldb/test/API/commands/apropos/with-process/main.cpp @@ -1,10 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 int main (int argc, char const *argv[]) diff --git a/lldb/test/API/commands/command/nested_alias/main.cpp b/lldb/test/API/commands/command/nested_alias/main.cpp --- a/lldb/test/API/commands/command/nested_alias/main.cpp +++ b/lldb/test/API/commands/command/nested_alias/main.cpp @@ -1,10 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 int main (int argc, char const *argv[]) diff --git a/lldb/test/API/commands/command/script/main.cpp b/lldb/test/API/commands/command/script/main.cpp --- a/lldb/test/API/commands/command/script/main.cpp +++ b/lldb/test/API/commands/command/script/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/commands/disassemble/basic/main.cpp b/lldb/test/API/commands/disassemble/basic/main.cpp --- a/lldb/test/API/commands/disassemble/basic/main.cpp +++ b/lldb/test/API/commands/disassemble/basic/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int sum (int a, int b) { diff --git a/lldb/test/API/commands/expression/ir-interpreter-phi-nodes/main.cpp b/lldb/test/API/commands/expression/ir-interpreter-phi-nodes/main.cpp --- a/lldb/test/API/commands/expression/ir-interpreter-phi-nodes/main.cpp +++ b/lldb/test/API/commands/expression/ir-interpreter-phi-nodes/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int main() { int i; diff --git a/lldb/test/API/commands/expression/persistent_types/main.c b/lldb/test/API/commands/expression/persistent_types/main.c --- a/lldb/test/API/commands/expression/persistent_types/main.c +++ b/lldb/test/API/commands/expression/persistent_types/main.c @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int main (int argc, char const *argv[]) { const char* foo = "Hello world"; diff --git a/lldb/test/API/commands/expression/persistent_variables/main.c b/lldb/test/API/commands/expression/persistent_variables/main.c --- a/lldb/test/API/commands/expression/persistent_variables/main.c +++ b/lldb/test/API/commands/expression/persistent_variables/main.c @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int main (int argc, char const *argv[]) { int i = 5; diff --git a/lldb/test/API/commands/expression/radar_8638051/main.c b/lldb/test/API/commands/expression/radar_8638051/main.c --- a/lldb/test/API/commands/expression/radar_8638051/main.c +++ b/lldb/test/API/commands/expression/radar_8638051/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 // This simple program is to demonstrate the capability of the lldb command diff --git a/lldb/test/API/commands/expression/radar_9531204/main.c b/lldb/test/API/commands/expression/radar_9531204/main.c --- a/lldb/test/API/commands/expression/radar_9531204/main.c +++ b/lldb/test/API/commands/expression/radar_9531204/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 // breakpoint set -n foo diff --git a/lldb/test/API/commands/expression/radar_9673664/main.c b/lldb/test/API/commands/expression/radar_9673664/main.c --- a/lldb/test/API/commands/expression/radar_9673664/main.c +++ b/lldb/test/API/commands/expression/radar_9673664/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 int main (int argc, char const *argv[]) diff --git a/lldb/test/API/commands/expression/save_jit_objects/main.c b/lldb/test/API/commands/expression/save_jit_objects/main.c --- a/lldb/test/API/commands/expression/save_jit_objects/main.c +++ b/lldb/test/API/commands/expression/save_jit_objects/main.c @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int main (int argc, char const *argv[]) { const char* foo = "Hello world"; // break here diff --git a/lldb/test/API/commands/frame/recognizer/main.m b/lldb/test/API/commands/frame/recognizer/main.m --- a/lldb/test/API/commands/frame/recognizer/main.m +++ b/lldb/test/API/commands/frame/recognizer/main.m @@ -1,11 +1,3 @@ -//===-- main.m ------------------------------------------------*- ObjC -*-===// -// -// 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 -// -//===----------------------------------------------------------------------===// - #import void foo(int a, int b) diff --git a/lldb/test/API/commands/frame/var-scope/main.c b/lldb/test/API/commands/frame/var-scope/main.c --- a/lldb/test/API/commands/frame/var-scope/main.c +++ b/lldb/test/API/commands/frame/var-scope/main.c @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int foo(int x, int y) { int z = 3 + x; return z + y; //% self.expect("frame variable -s", substrs=['ARG: (int) x = -3','ARG: (int) y = 0']) diff --git a/lldb/test/API/commands/log/basic/main.cpp b/lldb/test/API/commands/log/basic/main.cpp --- a/lldb/test/API/commands/log/basic/main.cpp +++ b/lldb/test/API/commands/log/basic/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/commands/register/register/intel_xtended_registers/main.cpp b/lldb/test/API/commands/register/register/intel_xtended_registers/main.cpp --- a/lldb/test/API/commands/register/register/intel_xtended_registers/main.cpp +++ b/lldb/test/API/commands/register/register/intel_xtended_registers/main.cpp @@ -1,10 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 diff --git a/lldb/test/API/commands/register/register/intel_xtended_registers/mpx_bound_violation/main.cpp b/lldb/test/API/commands/register/register/intel_xtended_registers/mpx_bound_violation/main.cpp --- a/lldb/test/API/commands/register/register/intel_xtended_registers/mpx_bound_violation/main.cpp +++ b/lldb/test/API/commands/register/register/intel_xtended_registers/mpx_bound_violation/main.cpp @@ -1,10 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 diff --git a/lldb/test/API/commands/register/register/register_command/a.cpp b/lldb/test/API/commands/register/register/register_command/a.cpp --- a/lldb/test/API/commands/register/register/register_command/a.cpp +++ b/lldb/test/API/commands/register/register/register_command/a.cpp @@ -1,10 +1,3 @@ -//===-- a.cpp ------------------------------------------------*- 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 long double diff --git a/lldb/test/API/commands/register/register/register_command/main.cpp b/lldb/test/API/commands/register/register/register_command/main.cpp --- a/lldb/test/API/commands/register/register/register_command/main.cpp +++ b/lldb/test/API/commands/register/register/register_command/main.cpp @@ -1,10 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 #include diff --git a/lldb/test/API/commands/settings/main.cpp b/lldb/test/API/commands/settings/main.cpp --- a/lldb/test/API/commands/settings/main.cpp +++ b/lldb/test/API/commands/settings/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/commands/target/basic/a.c b/lldb/test/API/commands/target/basic/a.c --- a/lldb/test/API/commands/target/basic/a.c +++ b/lldb/test/API/commands/target/basic/a.c @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int main(int argc, const char* argv[]) { int *null_ptr = 0; diff --git a/lldb/test/API/commands/target/basic/b.c b/lldb/test/API/commands/target/basic/b.c --- a/lldb/test/API/commands/target/basic/b.c +++ b/lldb/test/API/commands/target/basic/b.c @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int main (int argc, char const *argv[]) { return 0; // Set break point at this line. diff --git a/lldb/test/API/commands/target/basic/c.c b/lldb/test/API/commands/target/basic/c.c --- a/lldb/test/API/commands/target/basic/c.c +++ b/lldb/test/API/commands/target/basic/c.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 int main (int argc, char const *argv[]) diff --git a/lldb/test/API/commands/target/basic/globals.c b/lldb/test/API/commands/target/basic/globals.c --- a/lldb/test/API/commands/target/basic/globals.c +++ b/lldb/test/API/commands/target/basic/globals.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 char my_global_char = 'X'; diff --git a/lldb/test/API/commands/target/create-deps/a.cpp b/lldb/test/API/commands/target/create-deps/a.cpp --- a/lldb/test/API/commands/target/create-deps/a.cpp +++ b/lldb/test/API/commands/target/create-deps/a.cpp @@ -1,11 +1,3 @@ -//===-- b.c -----------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int a_function () { return 500; diff --git a/lldb/test/API/commands/target/create-deps/main.cpp b/lldb/test/API/commands/target/create-deps/main.cpp --- a/lldb/test/API/commands/target/create-deps/main.cpp +++ b/lldb/test/API/commands/target/create-deps/main.cpp @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - extern int a_function (); extern int b_function (); diff --git a/lldb/test/API/commands/watchpoints/hello_watchlocation/main.cpp b/lldb/test/API/commands/watchpoints/hello_watchlocation/main.cpp --- a/lldb/test/API/commands/watchpoints/hello_watchlocation/main.cpp +++ b/lldb/test/API/commands/watchpoints/hello_watchlocation/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/commands/watchpoints/hello_watchpoint/main.c b/lldb/test/API/commands/watchpoints/hello_watchpoint/main.c --- a/lldb/test/API/commands/watchpoints/hello_watchpoint/main.c +++ b/lldb/test/API/commands/watchpoints/hello_watchpoint/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include diff --git a/lldb/test/API/commands/watchpoints/multi_watchpoint_slots/main.c b/lldb/test/API/commands/watchpoints/multi_watchpoint_slots/main.c --- a/lldb/test/API/commands/watchpoints/multi_watchpoint_slots/main.c +++ b/lldb/test/API/commands/watchpoints/multi_watchpoint_slots/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include diff --git a/lldb/test/API/commands/watchpoints/multiple_hits/main.cpp b/lldb/test/API/commands/watchpoints/multiple_hits/main.cpp --- a/lldb/test/API/commands/watchpoints/multiple_hits/main.cpp +++ b/lldb/test/API/commands/watchpoints/multiple_hits/main.cpp @@ -1,10 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 #include alignas(16) uint8_t buf[32]; diff --git a/lldb/test/API/commands/watchpoints/multiple_threads/main.cpp b/lldb/test/API/commands/watchpoints/multiple_threads/main.cpp --- a/lldb/test/API/commands/watchpoints/multiple_threads/main.cpp +++ b/lldb/test/API/commands/watchpoints/multiple_threads/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 "pseudo_barrier.h" #include #include diff --git a/lldb/test/API/commands/watchpoints/watchpoint_commands/command/main.cpp b/lldb/test/API/commands/watchpoints/watchpoint_commands/command/main.cpp --- a/lldb/test/API/commands/watchpoints/watchpoint_commands/command/main.cpp +++ b/lldb/test/API/commands/watchpoints/watchpoint_commands/command/main.cpp @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include diff --git a/lldb/test/API/commands/watchpoints/watchpoint_commands/condition/main.cpp b/lldb/test/API/commands/watchpoints/watchpoint_commands/condition/main.cpp --- a/lldb/test/API/commands/watchpoints/watchpoint_commands/condition/main.cpp +++ b/lldb/test/API/commands/watchpoints/watchpoint_commands/condition/main.cpp @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include diff --git a/lldb/test/API/commands/watchpoints/watchpoint_commands/main.c b/lldb/test/API/commands/watchpoints/watchpoint_commands/main.c --- a/lldb/test/API/commands/watchpoints/watchpoint_commands/main.c +++ b/lldb/test/API/commands/watchpoints/watchpoint_commands/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include diff --git a/lldb/test/API/commands/watchpoints/watchpoint_on_vectors/main.c b/lldb/test/API/commands/watchpoints/watchpoint_on_vectors/main.c --- a/lldb/test/API/commands/watchpoints/watchpoint_on_vectors/main.c +++ b/lldb/test/API/commands/watchpoints/watchpoint_on_vectors/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// typedef signed char v4i8 __attribute__ ((vector_size(4))); v4i8 global_vector = {1, 2, 3, 4}; diff --git a/lldb/test/API/commands/watchpoints/watchpoint_set_command/main.cpp b/lldb/test/API/commands/watchpoints/watchpoint_set_command/main.cpp --- a/lldb/test/API/commands/watchpoints/watchpoint_set_command/main.cpp +++ b/lldb/test/API/commands/watchpoints/watchpoint_set_command/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/commands/watchpoints/watchpoint_size/main.c b/lldb/test/API/commands/watchpoints/watchpoint_size/main.c --- a/lldb/test/API/commands/watchpoints/watchpoint_size/main.c +++ b/lldb/test/API/commands/watchpoints/watchpoint_size/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include diff --git a/lldb/test/API/functionalities/archives/a.c b/lldb/test/API/functionalities/archives/a.c --- a/lldb/test/API/functionalities/archives/a.c +++ b/lldb/test/API/functionalities/archives/a.c @@ -1,10 +1,3 @@ -//===-- a.c -----------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// int __a_global = 1; int a(int arg) { diff --git a/lldb/test/API/functionalities/archives/b.c b/lldb/test/API/functionalities/archives/b.c --- a/lldb/test/API/functionalities/archives/b.c +++ b/lldb/test/API/functionalities/archives/b.c @@ -1,10 +1,3 @@ -//===-- b.c -----------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// static int __b_global = 2; int b(int arg) { diff --git a/lldb/test/API/functionalities/archives/main.c b/lldb/test/API/functionalities/archives/main.c --- a/lldb/test/API/functionalities/archives/main.c +++ b/lldb/test/API/functionalities/archives/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 extern int a(int); diff --git a/lldb/test/API/functionalities/asan/main.c b/lldb/test/API/functionalities/asan/main.c --- a/lldb/test/API/functionalities/asan/main.c +++ b/lldb/test/API/functionalities/asan/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_by_line_and_column/TestBreakpointByLineAndColumn.py b/lldb/test/API/functionalities/breakpoint/breakpoint_by_line_and_column/TestBreakpointByLineAndColumn.py --- a/lldb/test/API/functionalities/breakpoint/breakpoint_by_line_and_column/TestBreakpointByLineAndColumn.py +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_by_line_and_column/TestBreakpointByLineAndColumn.py @@ -20,12 +20,12 @@ self.build() main_c = lldb.SBFileSpec("main.c") _, _, _, breakpoint = lldbutil.run_to_line_breakpoint(self, - main_c, 19, 50) + main_c, 11, 50) self.expect("fr v did_call", substrs='1') in_then = False for i in range(breakpoint.GetNumLocations()): b_loc = breakpoint.GetLocationAtIndex(i).GetAddress().GetLineEntry() - self.assertEqual(b_loc.GetLine(), 19) + self.assertEqual(b_loc.GetLine(), 11) in_then |= b_loc.GetColumn() == 50 self.assertTrue(in_then) @@ -34,11 +34,11 @@ def testBreakpointByLine(self): self.build() main_c = lldb.SBFileSpec("main.c") - _, _, _, breakpoint = lldbutil.run_to_line_breakpoint(self, main_c, 19) + _, _, _, breakpoint = lldbutil.run_to_line_breakpoint(self, main_c, 11) self.expect("fr v did_call", substrs='0') in_condition = False for i in range(breakpoint.GetNumLocations()): b_loc = breakpoint.GetLocationAtIndex(i).GetAddress().GetLineEntry() - self.assertEqual(b_loc.GetLine(), 19) + self.assertEqual(b_loc.GetLine(), 11) in_condition |= b_loc.GetColumn() < 30 self.assertTrue(in_condition) diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_by_line_and_column/main.c b/lldb/test/API/functionalities/breakpoint/breakpoint_by_line_and_column/main.c --- a/lldb/test/API/functionalities/breakpoint/breakpoint_by_line_and_column/main.c +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_by_line_and_column/main.c @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int square(int x) { return x * x; diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_command/main.c b/lldb/test/API/functionalities/breakpoint/breakpoint_command/main.c --- a/lldb/test/API/functionalities/breakpoint/breakpoint_command/main.c +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_command/main.c @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int main (int argc, char const *argv[]) { // Add a body to the function, so we can set more than one diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/main.c b/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/main.c --- a/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/main.c +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 // This simple program is to demonstrate the capability of the lldb command diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_hit_count/main.cpp b/lldb/test/API/functionalities/breakpoint/breakpoint_hit_count/main.cpp --- a/lldb/test/API/functionalities/breakpoint/breakpoint_hit_count/main.cpp +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_hit_count/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int a(int val) { return val; // Breakpoint Location 1 diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_ids/main.cpp b/lldb/test/API/functionalities/breakpoint/breakpoint_ids/main.cpp --- a/lldb/test/API/functionalities/breakpoint/breakpoint_ids/main.cpp +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_ids/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_ignore_count/main.c b/lldb/test/API/functionalities/breakpoint/breakpoint_ignore_count/main.c --- a/lldb/test/API/functionalities/breakpoint/breakpoint_ignore_count/main.c +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_ignore_count/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 // This simple program is to demonstrate the capability of the lldb command diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_names/main.c b/lldb/test/API/functionalities/breakpoint/breakpoint_names/main.c --- a/lldb/test/API/functionalities/breakpoint/breakpoint_names/main.c +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_names/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 // This simple program is to demonstrate the capability of the lldb command diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_set_restart/main.cpp b/lldb/test/API/functionalities/breakpoint/breakpoint_set_restart/main.cpp --- a/lldb/test/API/functionalities/breakpoint/breakpoint_set_restart/main.cpp +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_set_restart/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/breakpoint/comp_dir_symlink/main.cpp b/lldb/test/API/functionalities/breakpoint/comp_dir_symlink/main.cpp --- a/lldb/test/API/functionalities/breakpoint/comp_dir_symlink/main.cpp +++ b/lldb/test/API/functionalities/breakpoint/comp_dir_symlink/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int main (int argc, char const *argv[]) { return 0; // Set break point at this line. diff --git a/lldb/test/API/functionalities/breakpoint/consecutive_breakpoints/main.cpp b/lldb/test/API/functionalities/breakpoint/consecutive_breakpoints/main.cpp --- a/lldb/test/API/functionalities/breakpoint/consecutive_breakpoints/main.cpp +++ b/lldb/test/API/functionalities/breakpoint/consecutive_breakpoints/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int main(int argc, char const *argv[]) { diff --git a/lldb/test/API/functionalities/breakpoint/cpp/main.cpp b/lldb/test/API/functionalities/breakpoint/cpp/main.cpp --- a/lldb/test/API/functionalities/breakpoint/cpp/main.cpp +++ b/lldb/test/API/functionalities/breakpoint/cpp/main.cpp @@ -1,10 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 #include diff --git a/lldb/test/API/functionalities/breakpoint/hardware_breakpoints/hardware_breakpoint_on_multiple_threads/main.cpp b/lldb/test/API/functionalities/breakpoint/hardware_breakpoints/hardware_breakpoint_on_multiple_threads/main.cpp --- a/lldb/test/API/functionalities/breakpoint/hardware_breakpoints/hardware_breakpoint_on_multiple_threads/main.cpp +++ b/lldb/test/API/functionalities/breakpoint/hardware_breakpoints/hardware_breakpoint_on_multiple_threads/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/breakpoint/serialize/main.c b/lldb/test/API/functionalities/breakpoint/serialize/main.c --- a/lldb/test/API/functionalities/breakpoint/serialize/main.c +++ b/lldb/test/API/functionalities/breakpoint/serialize/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 // This simple program is to demonstrate the capability of the lldb command diff --git a/lldb/test/API/functionalities/conditional_break/main.c b/lldb/test/API/functionalities/conditional_break/main.c --- a/lldb/test/API/functionalities/conditional_break/main.c +++ b/lldb/test/API/functionalities/conditional_break/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 // This simple program is to demonstrate the capability of the lldb command diff --git a/lldb/test/API/functionalities/darwin_log/basic/main.c b/lldb/test/API/functionalities/darwin_log/basic/main.c --- a/lldb/test/API/functionalities/darwin_log/basic/main.c +++ b/lldb/test/API/functionalities/darwin_log/basic/main.c @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include diff --git a/lldb/test/API/functionalities/darwin_log/filter/exact_match/activity-chain/main.c b/lldb/test/API/functionalities/darwin_log/filter/exact_match/activity-chain/main.c --- a/lldb/test/API/functionalities/darwin_log/filter/exact_match/activity-chain/main.c +++ b/lldb/test/API/functionalities/darwin_log/filter/exact_match/activity-chain/main.c @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/darwin_log/filter/exact_match/activity/main.c b/lldb/test/API/functionalities/darwin_log/filter/exact_match/activity/main.c --- a/lldb/test/API/functionalities/darwin_log/filter/exact_match/activity/main.c +++ b/lldb/test/API/functionalities/darwin_log/filter/exact_match/activity/main.c @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/darwin_log/filter/exact_match/category/main.c b/lldb/test/API/functionalities/darwin_log/filter/exact_match/category/main.c --- a/lldb/test/API/functionalities/darwin_log/filter/exact_match/category/main.c +++ b/lldb/test/API/functionalities/darwin_log/filter/exact_match/category/main.c @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/darwin_log/filter/exact_match/message/main.c b/lldb/test/API/functionalities/darwin_log/filter/exact_match/message/main.c --- a/lldb/test/API/functionalities/darwin_log/filter/exact_match/message/main.c +++ b/lldb/test/API/functionalities/darwin_log/filter/exact_match/message/main.c @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/darwin_log/filter/exact_match/subsystem/main.c b/lldb/test/API/functionalities/darwin_log/filter/exact_match/subsystem/main.c --- a/lldb/test/API/functionalities/darwin_log/filter/exact_match/subsystem/main.c +++ b/lldb/test/API/functionalities/darwin_log/filter/exact_match/subsystem/main.c @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/darwin_log/filter/regex/activity-chain/main.c b/lldb/test/API/functionalities/darwin_log/filter/regex/activity-chain/main.c --- a/lldb/test/API/functionalities/darwin_log/filter/regex/activity-chain/main.c +++ b/lldb/test/API/functionalities/darwin_log/filter/regex/activity-chain/main.c @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/darwin_log/filter/regex/activity/main.c b/lldb/test/API/functionalities/darwin_log/filter/regex/activity/main.c --- a/lldb/test/API/functionalities/darwin_log/filter/regex/activity/main.c +++ b/lldb/test/API/functionalities/darwin_log/filter/regex/activity/main.c @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/darwin_log/filter/regex/category/main.c b/lldb/test/API/functionalities/darwin_log/filter/regex/category/main.c --- a/lldb/test/API/functionalities/darwin_log/filter/regex/category/main.c +++ b/lldb/test/API/functionalities/darwin_log/filter/regex/category/main.c @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/darwin_log/filter/regex/message/main.c b/lldb/test/API/functionalities/darwin_log/filter/regex/message/main.c --- a/lldb/test/API/functionalities/darwin_log/filter/regex/message/main.c +++ b/lldb/test/API/functionalities/darwin_log/filter/regex/message/main.c @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/darwin_log/filter/regex/subsystem/main.c b/lldb/test/API/functionalities/darwin_log/filter/regex/subsystem/main.c --- a/lldb/test/API/functionalities/darwin_log/filter/regex/subsystem/main.c +++ b/lldb/test/API/functionalities/darwin_log/filter/regex/subsystem/main.c @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/darwin_log/format/main.c b/lldb/test/API/functionalities/darwin_log/format/main.c --- a/lldb/test/API/functionalities/darwin_log/format/main.c +++ b/lldb/test/API/functionalities/darwin_log/format/main.c @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/darwin_log/source/debug/main.c b/lldb/test/API/functionalities/darwin_log/source/debug/main.c --- a/lldb/test/API/functionalities/darwin_log/source/debug/main.c +++ b/lldb/test/API/functionalities/darwin_log/source/debug/main.c @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include diff --git a/lldb/test/API/functionalities/darwin_log/source/info/main.c b/lldb/test/API/functionalities/darwin_log/source/info/main.c --- a/lldb/test/API/functionalities/darwin_log/source/info/main.c +++ b/lldb/test/API/functionalities/darwin_log/source/info/main.c @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include diff --git a/lldb/test/API/functionalities/data-formatter/boolreference/main.mm b/lldb/test/API/functionalities/data-formatter/boolreference/main.mm --- a/lldb/test/API/functionalities/data-formatter/boolreference/main.mm +++ b/lldb/test/API/functionalities/data-formatter/boolreference/main.mm @@ -1,11 +1,3 @@ -//===-- main.m ------------------------------------------------*- ObjC -*-===// -// -// 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 -// -//===----------------------------------------------------------------------===// - #import int main (int argc, const char * argv[]) diff --git a/lldb/test/API/functionalities/data-formatter/compactvectors/main.cpp b/lldb/test/API/functionalities/data-formatter/compactvectors/main.cpp --- a/lldb/test/API/functionalities/data-formatter/compactvectors/main.cpp +++ b/lldb/test/API/functionalities/data-formatter/compactvectors/main.cpp @@ -1,11 +1,3 @@ - //===-- main.cpp ------------------------------------------------*- 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 int main() diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-advanced/main.cpp b/lldb/test/API/functionalities/data-formatter/data-formatter-advanced/main.cpp --- a/lldb/test/API/functionalities/data-formatter/data-formatter-advanced/main.cpp +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-advanced/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-categories/main.cpp b/lldb/test/API/functionalities/data-formatter/data-formatter-categories/main.cpp --- a/lldb/test/API/functionalities/data-formatter/data-formatter-categories/main.cpp +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-categories/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-cpp/main.cpp b/lldb/test/API/functionalities/data-formatter/data-formatter-cpp/main.cpp --- a/lldb/test/API/functionalities/data-formatter/data-formatter-cpp/main.cpp +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-cpp/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-globals/main.cpp b/lldb/test/API/functionalities/data-formatter/data-formatter-globals/main.cpp --- a/lldb/test/API/functionalities/data-formatter/data-formatter-globals/main.cpp +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-globals/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-named-summaries/main.cpp b/lldb/test/API/functionalities/data-formatter/data-formatter-named-summaries/main.cpp --- a/lldb/test/API/functionalities/data-formatter/data-formatter-named-summaries/main.cpp +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-named-summaries/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/cmtime/main.m b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/cmtime/main.m --- a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/cmtime/main.m +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/cmtime/main.m @@ -1,11 +1,3 @@ -//===-- main.m ------------------------------------------------*- ObjC -*-===// -// -// 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 -// -//===----------------------------------------------------------------------===// - #import int main(int argc, const char **argv) diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/main.m b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/main.m --- a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/main.m +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/main.m @@ -1,11 +1,3 @@ -//===-- main.m ------------------------------------------------*- ObjC -*-===// -// -// 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 -// -//===----------------------------------------------------------------------===// - #import #if defined(__APPLE__) diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/nsindexpath/main.m b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/nsindexpath/main.m --- a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/nsindexpath/main.m +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/nsindexpath/main.m @@ -1,11 +1,3 @@ -//===-- main.m ------------------------------------------------*- ObjC -*-===// -// -// 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 -// -//===----------------------------------------------------------------------===// - #import int main(int argc, const char **argv) diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/nsstring/main.m b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/nsstring/main.m --- a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/nsstring/main.m +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/nsstring/main.m @@ -1,11 +1,3 @@ -//===-- main.m ------------------------------------------------*- ObjC -*-===// -// -// 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 -// -//===----------------------------------------------------------------------===// - #import #if defined(__APPLE__) diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-proper-plurals/main.m b/lldb/test/API/functionalities/data-formatter/data-formatter-proper-plurals/main.m --- a/lldb/test/API/functionalities/data-formatter/data-formatter-proper-plurals/main.m +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-proper-plurals/main.m @@ -1,11 +1,3 @@ -//===-- main.m ------------------------------------------------*- ObjC -*-===// -// -// 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 -// -//===----------------------------------------------------------------------===// - #import int main (int argc, const char * argv[]) diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-ptr-to-array/main.cpp b/lldb/test/API/functionalities/data-formatter/data-formatter-ptr-to-array/main.cpp --- a/lldb/test/API/functionalities/data-formatter/data-formatter-ptr-to-array/main.cpp +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-ptr-to-array/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - bool bar(int const *foo) { return foo != 0; // Set break point at this line. } diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-script/main.cpp b/lldb/test/API/functionalities/data-formatter/data-formatter-script/main.cpp --- a/lldb/test/API/functionalities/data-formatter/data-formatter-script/main.cpp +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-script/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-smart-array/main.cpp b/lldb/test/API/functionalities/data-formatter/data-formatter-smart-array/main.cpp --- a/lldb/test/API/functionalities/data-formatter/data-formatter-smart-array/main.cpp +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-smart-array/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/atomic/main.cpp b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/atomic/main.cpp --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/atomic/main.cpp +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/atomic/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp --------------------------------------------------*- 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 // Define a Parent and Child struct that can point to each other. diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function/TestLibCxxFunction.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function/TestLibCxxFunction.py --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function/TestLibCxxFunction.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function/TestLibCxxFunction.py @@ -49,19 +49,19 @@ substrs=['stopped', 'stop reason = breakpoint']) - self.run_frame_var_check_cache_use("foo2_f", "Lambda in File main.cpp at Line 30") + self.run_frame_var_check_cache_use("foo2_f", "Lambda in File main.cpp at Line 22") lldbutil.continue_to_breakpoint(self.process(), bkpt) - self.run_frame_var_check_cache_use("add_num2_f", "Lambda in File main.cpp at Line 21") + self.run_frame_var_check_cache_use("add_num2_f", "Lambda in File main.cpp at Line 13") lldbutil.continue_to_breakpoint(self.process(), bkpt) - self.run_frame_var_check_cache_use("f2", "Lambda in File main.cpp at Line 43") - self.run_frame_var_check_cache_use("f3", "Lambda in File main.cpp at Line 47", True) + self.run_frame_var_check_cache_use("f2", "Lambda in File main.cpp at Line 35") + self.run_frame_var_check_cache_use("f3", "Lambda in File main.cpp at Line 39", True) # TODO reenable this case when std::function formatter supports # general callable object case. - #self.run_frame_var_check_cache_use("f4", "Function in File main.cpp at Line 16") + #self.run_frame_var_check_cache_use("f4", "Function in File main.cpp at Line 8") # These cases won't hit the cache at all but also don't require # an expensive lookup. diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function/main.cpp b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function/main.cpp --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function/main.cpp +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/function/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp --------------------------------------------------*- 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 int foo(int x, int y) { diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/main.cpp b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/main.cpp --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/main.cpp +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp --------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-synth/main.cpp b/lldb/test/API/functionalities/data-formatter/data-formatter-synth/main.cpp --- a/lldb/test/API/functionalities/data-formatter/data-formatter-synth/main.cpp +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-synth/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/data-formatter/dump_dynamic/main.cpp b/lldb/test/API/functionalities/data-formatter/dump_dynamic/main.cpp --- a/lldb/test/API/functionalities/data-formatter/dump_dynamic/main.cpp +++ b/lldb/test/API/functionalities/data-formatter/dump_dynamic/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - class Base { public: Base () = default; diff --git a/lldb/test/API/functionalities/data-formatter/frameformat_smallstruct/main.cpp b/lldb/test/API/functionalities/data-formatter/frameformat_smallstruct/main.cpp --- a/lldb/test/API/functionalities/data-formatter/frameformat_smallstruct/main.cpp +++ b/lldb/test/API/functionalities/data-formatter/frameformat_smallstruct/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - struct Pair { int x; int y; diff --git a/lldb/test/API/functionalities/data-formatter/hexcaps/main.cpp b/lldb/test/API/functionalities/data-formatter/hexcaps/main.cpp --- a/lldb/test/API/functionalities/data-formatter/hexcaps/main.cpp +++ b/lldb/test/API/functionalities/data-formatter/hexcaps/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 struct foo diff --git a/lldb/test/API/functionalities/data-formatter/language_category_updates/main.cpp b/lldb/test/API/functionalities/data-formatter/language_category_updates/main.cpp --- a/lldb/test/API/functionalities/data-formatter/language_category_updates/main.cpp +++ b/lldb/test/API/functionalities/data-formatter/language_category_updates/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - struct S { int x; int y; diff --git a/lldb/test/API/functionalities/data-formatter/nsarraysynth/main.m b/lldb/test/API/functionalities/data-formatter/nsarraysynth/main.m --- a/lldb/test/API/functionalities/data-formatter/nsarraysynth/main.m +++ b/lldb/test/API/functionalities/data-formatter/nsarraysynth/main.m @@ -1,11 +1,3 @@ -//===-- main.m ------------------------------------------------*- ObjC -*-===// -// -// 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 -// -//===----------------------------------------------------------------------===// - #import int main (int argc, const char * argv[]) diff --git a/lldb/test/API/functionalities/data-formatter/nsdictionarysynth/main.m b/lldb/test/API/functionalities/data-formatter/nsdictionarysynth/main.m --- a/lldb/test/API/functionalities/data-formatter/nsdictionarysynth/main.m +++ b/lldb/test/API/functionalities/data-formatter/nsdictionarysynth/main.m @@ -1,11 +1,3 @@ -//===-- main.m ------------------------------------------------*- ObjC -*-===// -// -// 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 -// -//===----------------------------------------------------------------------===// - #import int main (int argc, const char * argv[]) diff --git a/lldb/test/API/functionalities/data-formatter/nssetsynth/main.m b/lldb/test/API/functionalities/data-formatter/nssetsynth/main.m --- a/lldb/test/API/functionalities/data-formatter/nssetsynth/main.m +++ b/lldb/test/API/functionalities/data-formatter/nssetsynth/main.m @@ -1,11 +1,3 @@ -//===-- main.m ------------------------------------------------*- ObjC -*-===// -// -// 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 -// -//===----------------------------------------------------------------------===// - #import int main (int argc, const char * argv[]) diff --git a/lldb/test/API/functionalities/data-formatter/ostypeformatting/main.mm b/lldb/test/API/functionalities/data-formatter/ostypeformatting/main.mm --- a/lldb/test/API/functionalities/data-formatter/ostypeformatting/main.mm +++ b/lldb/test/API/functionalities/data-formatter/ostypeformatting/main.mm @@ -1,11 +1,3 @@ -//===-- main.m ------------------------------------------------*- ObjC -*-===// -// -// 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 -// -//===----------------------------------------------------------------------===// - #import int main (int argc, const char * argv[]) diff --git a/lldb/test/API/functionalities/data-formatter/parray/main.cpp b/lldb/test/API/functionalities/data-formatter/parray/main.cpp --- a/lldb/test/API/functionalities/data-formatter/parray/main.cpp +++ b/lldb/test/API/functionalities/data-formatter/parray/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp -------------------------------------------------*- 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 #include diff --git a/lldb/test/API/functionalities/data-formatter/poarray/main.mm b/lldb/test/API/functionalities/data-formatter/poarray/main.mm --- a/lldb/test/API/functionalities/data-formatter/poarray/main.mm +++ b/lldb/test/API/functionalities/data-formatter/poarray/main.mm @@ -1,11 +1,3 @@ -//===-- main.cpp -------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - #import struct ThreeObjects diff --git a/lldb/test/API/functionalities/data-formatter/ptr_ref_typedef/main.cpp b/lldb/test/API/functionalities/data-formatter/ptr_ref_typedef/main.cpp --- a/lldb/test/API/functionalities/data-formatter/ptr_ref_typedef/main.cpp +++ b/lldb/test/API/functionalities/data-formatter/ptr_ref_typedef/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - typedef int Foo; int main() { diff --git a/lldb/test/API/functionalities/data-formatter/pyobjsynthprovider/main.cpp b/lldb/test/API/functionalities/data-formatter/pyobjsynthprovider/main.cpp --- a/lldb/test/API/functionalities/data-formatter/pyobjsynthprovider/main.cpp +++ b/lldb/test/API/functionalities/data-formatter/pyobjsynthprovider/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp -------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - struct Foo { double x; diff --git a/lldb/test/API/functionalities/data-formatter/setvaluefromcstring/main.m b/lldb/test/API/functionalities/data-formatter/setvaluefromcstring/main.m --- a/lldb/test/API/functionalities/data-formatter/setvaluefromcstring/main.m +++ b/lldb/test/API/functionalities/data-formatter/setvaluefromcstring/main.m @@ -1,10 +1,3 @@ -//===-- main.m ---------------------------------------------------*- ObjC -*-===// -// -// 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 -// -//===----------------------------------------------------------------------===// #import int main() { diff --git a/lldb/test/API/functionalities/data-formatter/stringprinter/main.cpp b/lldb/test/API/functionalities/data-formatter/stringprinter/main.cpp --- a/lldb/test/API/functionalities/data-formatter/stringprinter/main.cpp +++ b/lldb/test/API/functionalities/data-formatter/stringprinter/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 int main (int argc, char const *argv[]) diff --git a/lldb/test/API/functionalities/data-formatter/summary-string-onfail/main.cpp b/lldb/test/API/functionalities/data-formatter/summary-string-onfail/main.cpp --- a/lldb/test/API/functionalities/data-formatter/summary-string-onfail/main.cpp +++ b/lldb/test/API/functionalities/data-formatter/summary-string-onfail/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 struct contained diff --git a/lldb/test/API/functionalities/data-formatter/synthupdate/main.m b/lldb/test/API/functionalities/data-formatter/synthupdate/main.m --- a/lldb/test/API/functionalities/data-formatter/synthupdate/main.m +++ b/lldb/test/API/functionalities/data-formatter/synthupdate/main.m @@ -1,11 +1,3 @@ -//===-- main.m ------------------------------------------------*- ObjC -*-===// -// -// 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 -// -//===----------------------------------------------------------------------===// - #import int main (int argc, const char * argv[]) diff --git a/lldb/test/API/functionalities/data-formatter/typedef_array/main.cpp b/lldb/test/API/functionalities/data-formatter/typedef_array/main.cpp --- a/lldb/test/API/functionalities/data-formatter/typedef_array/main.cpp +++ b/lldb/test/API/functionalities/data-formatter/typedef_array/main.cpp @@ -1,10 +1,3 @@ -//===-- main.cpp --------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// typedef int Foo; int main() { diff --git a/lldb/test/API/functionalities/data-formatter/user-format-vs-summary/main.cpp b/lldb/test/API/functionalities/data-formatter/user-format-vs-summary/main.cpp --- a/lldb/test/API/functionalities/data-formatter/user-format-vs-summary/main.cpp +++ b/lldb/test/API/functionalities/data-formatter/user-format-vs-summary/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - struct Pair { int x; int y; diff --git a/lldb/test/API/functionalities/data-formatter/var-in-aggregate-misuse/main.cpp b/lldb/test/API/functionalities/data-formatter/var-in-aggregate-misuse/main.cpp --- a/lldb/test/API/functionalities/data-formatter/var-in-aggregate-misuse/main.cpp +++ b/lldb/test/API/functionalities/data-formatter/var-in-aggregate-misuse/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 struct Summarize { diff --git a/lldb/test/API/functionalities/data-formatter/vector-types/main.cpp b/lldb/test/API/functionalities/data-formatter/vector-types/main.cpp --- a/lldb/test/API/functionalities/data-formatter/vector-types/main.cpp +++ b/lldb/test/API/functionalities/data-formatter/vector-types/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - typedef float float4 __attribute__((ext_vector_type(4))); typedef unsigned char vec __attribute__((ext_vector_type(16))); diff --git a/lldb/test/API/functionalities/dead-strip/main.c b/lldb/test/API/functionalities/dead-strip/main.c --- a/lldb/test/API/functionalities/dead-strip/main.c +++ b/lldb/test/API/functionalities/dead-strip/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 diff --git a/lldb/test/API/functionalities/inferior-assert/main.c b/lldb/test/API/functionalities/inferior-assert/main.c --- a/lldb/test/API/functionalities/inferior-assert/main.c +++ b/lldb/test/API/functionalities/inferior-assert/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include diff --git a/lldb/test/API/functionalities/inferior-changed/main.c b/lldb/test/API/functionalities/inferior-changed/main.c --- a/lldb/test/API/functionalities/inferior-changed/main.c +++ b/lldb/test/API/functionalities/inferior-changed/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 int main(int argc, const char* argv[]) diff --git a/lldb/test/API/functionalities/inferior-changed/main2.c b/lldb/test/API/functionalities/inferior-changed/main2.c --- a/lldb/test/API/functionalities/inferior-changed/main2.c +++ b/lldb/test/API/functionalities/inferior-changed/main2.c @@ -1,10 +1,3 @@ -//===-- main2.c -------------------------------------------------*- 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 #include diff --git a/lldb/test/API/functionalities/inferior-crashing/main.c b/lldb/test/API/functionalities/inferior-crashing/main.c --- a/lldb/test/API/functionalities/inferior-crashing/main.c +++ b/lldb/test/API/functionalities/inferior-crashing/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 const char *hello_world = "Hello, segfault!"; diff --git a/lldb/test/API/functionalities/load_unload/a.cpp b/lldb/test/API/functionalities/load_unload/a.cpp --- a/lldb/test/API/functionalities/load_unload/a.cpp +++ b/lldb/test/API/functionalities/load_unload/a.cpp @@ -1,10 +1,3 @@ -//===-- a.c -----------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// extern int b_function (); int a_init() diff --git a/lldb/test/API/functionalities/load_unload/b.cpp b/lldb/test/API/functionalities/load_unload/b.cpp --- a/lldb/test/API/functionalities/load_unload/b.cpp +++ b/lldb/test/API/functionalities/load_unload/b.cpp @@ -1,11 +1,3 @@ -//===-- b.c -----------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int b_init() { return 345; diff --git a/lldb/test/API/functionalities/load_unload/c.cpp b/lldb/test/API/functionalities/load_unload/c.cpp --- a/lldb/test/API/functionalities/load_unload/c.cpp +++ b/lldb/test/API/functionalities/load_unload/c.cpp @@ -1,10 +1,3 @@ -//===-- c.c -----------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// extern "C" int c_function () { diff --git a/lldb/test/API/functionalities/load_unload/d.cpp b/lldb/test/API/functionalities/load_unload/d.cpp --- a/lldb/test/API/functionalities/load_unload/d.cpp +++ b/lldb/test/API/functionalities/load_unload/d.cpp @@ -1,11 +1,3 @@ -//===-- c.c -----------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int d_init() { return 123; diff --git a/lldb/test/API/functionalities/load_unload/hidden/d.cpp b/lldb/test/API/functionalities/load_unload/hidden/d.cpp --- a/lldb/test/API/functionalities/load_unload/hidden/d.cpp +++ b/lldb/test/API/functionalities/load_unload/hidden/d.cpp @@ -1,11 +1,3 @@ -//===-- c.c -----------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int d_init() { return 456; diff --git a/lldb/test/API/functionalities/load_unload/main.cpp b/lldb/test/API/functionalities/load_unload/main.cpp --- a/lldb/test/API/functionalities/load_unload/main.cpp +++ b/lldb/test/API/functionalities/load_unload/main.cpp @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/load_using_paths/hidden/d.cpp b/lldb/test/API/functionalities/load_using_paths/hidden/d.cpp --- a/lldb/test/API/functionalities/load_using_paths/hidden/d.cpp +++ b/lldb/test/API/functionalities/load_using_paths/hidden/d.cpp @@ -1,11 +1,3 @@ -//===-- c.c -----------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int d_init() { return 456; diff --git a/lldb/test/API/functionalities/load_using_paths/main.cpp b/lldb/test/API/functionalities/load_using_paths/main.cpp --- a/lldb/test/API/functionalities/load_using_paths/main.cpp +++ b/lldb/test/API/functionalities/load_using_paths/main.cpp @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 int diff --git a/lldb/test/API/functionalities/longjmp/main.c b/lldb/test/API/functionalities/longjmp/main.c --- a/lldb/test/API/functionalities/longjmp/main.c +++ b/lldb/test/API/functionalities/longjmp/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/memory/cache/main.cpp b/lldb/test/API/functionalities/memory/cache/main.cpp --- a/lldb/test/API/functionalities/memory/cache/main.cpp +++ b/lldb/test/API/functionalities/memory/cache/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int main () { int my_ints[] = {0x42}; diff --git a/lldb/test/API/functionalities/memory/find/main.cpp b/lldb/test/API/functionalities/memory/find/main.cpp --- a/lldb/test/API/functionalities/memory/find/main.cpp +++ b/lldb/test/API/functionalities/memory/find/main.cpp @@ -1,10 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 #include diff --git a/lldb/test/API/functionalities/memory/read/main.cpp b/lldb/test/API/functionalities/memory/read/main.cpp --- a/lldb/test/API/functionalities/memory/read/main.cpp +++ b/lldb/test/API/functionalities/memory/read/main.cpp @@ -1,10 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 #include diff --git a/lldb/test/API/functionalities/non-overlapping-index-variable-i/main.cpp b/lldb/test/API/functionalities/non-overlapping-index-variable-i/main.cpp --- a/lldb/test/API/functionalities/non-overlapping-index-variable-i/main.cpp +++ b/lldb/test/API/functionalities/non-overlapping-index-variable-i/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - class Point { public: int x; diff --git a/lldb/test/API/functionalities/plugins/command_plugin/plugin.cpp.template b/lldb/test/API/functionalities/plugins/command_plugin/plugin.cpp.template --- a/lldb/test/API/functionalities/plugins/command_plugin/plugin.cpp.template +++ b/lldb/test/API/functionalities/plugins/command_plugin/plugin.cpp.template @@ -1,11 +1,3 @@ -//===-- plugin.cpp -------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - /* An example plugin for LLDB that provides a new foo command with a child subcommand Compile this into a dylib foo.dylib and load by placing in appropriate locations on disk or diff --git a/lldb/test/API/functionalities/postmortem/elf-core/gcore/main.cpp b/lldb/test/API/functionalities/postmortem/elf-core/gcore/main.cpp --- a/lldb/test/API/functionalities/postmortem/elf-core/gcore/main.cpp +++ b/lldb/test/API/functionalities/postmortem/elf-core/gcore/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - // This test verifies the correct handling of child thread exits. #include "pseudo_barrier.h" diff --git a/lldb/test/API/functionalities/postmortem/elf-core/thread_crash/main.cpp b/lldb/test/API/functionalities/postmortem/elf-core/thread_crash/main.cpp --- a/lldb/test/API/functionalities/postmortem/elf-core/thread_crash/main.cpp +++ b/lldb/test/API/functionalities/postmortem/elf-core/thread_crash/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - // This test verifies the correct handling of child thread exits. #include "pseudo_barrier.h" diff --git a/lldb/test/API/functionalities/ptr_refs/main.c b/lldb/test/API/functionalities/ptr_refs/main.c --- a/lldb/test/API/functionalities/ptr_refs/main.c +++ b/lldb/test/API/functionalities/ptr_refs/main.c @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/recursion/main.cpp b/lldb/test/API/functionalities/recursion/main.cpp --- a/lldb/test/API/functionalities/recursion/main.cpp +++ b/lldb/test/API/functionalities/recursion/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/tail_call_frames/ambiguous_tail_call_seq1/main.cpp b/lldb/test/API/functionalities/tail_call_frames/ambiguous_tail_call_seq1/main.cpp --- a/lldb/test/API/functionalities/tail_call_frames/ambiguous_tail_call_seq1/main.cpp +++ b/lldb/test/API/functionalities/tail_call_frames/ambiguous_tail_call_seq1/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - volatile int x; void __attribute__((noinline)) sink() { diff --git a/lldb/test/API/functionalities/tail_call_frames/ambiguous_tail_call_seq2/main.cpp b/lldb/test/API/functionalities/tail_call_frames/ambiguous_tail_call_seq2/main.cpp --- a/lldb/test/API/functionalities/tail_call_frames/ambiguous_tail_call_seq2/main.cpp +++ b/lldb/test/API/functionalities/tail_call_frames/ambiguous_tail_call_seq2/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - volatile int x; void __attribute__((noinline)) sink() { diff --git a/lldb/test/API/functionalities/tail_call_frames/disambiguate_call_site/main.cpp b/lldb/test/API/functionalities/tail_call_frames/disambiguate_call_site/main.cpp --- a/lldb/test/API/functionalities/tail_call_frames/disambiguate_call_site/main.cpp +++ b/lldb/test/API/functionalities/tail_call_frames/disambiguate_call_site/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - volatile int x; void __attribute__((noinline)) sink() { diff --git a/lldb/test/API/functionalities/tail_call_frames/disambiguate_paths_to_common_sink/main.cpp b/lldb/test/API/functionalities/tail_call_frames/disambiguate_paths_to_common_sink/main.cpp --- a/lldb/test/API/functionalities/tail_call_frames/disambiguate_paths_to_common_sink/main.cpp +++ b/lldb/test/API/functionalities/tail_call_frames/disambiguate_paths_to_common_sink/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - volatile int x; void __attribute__((noinline)) sink2() { diff --git a/lldb/test/API/functionalities/tail_call_frames/disambiguate_tail_call_seq/main.cpp b/lldb/test/API/functionalities/tail_call_frames/disambiguate_tail_call_seq/main.cpp --- a/lldb/test/API/functionalities/tail_call_frames/disambiguate_tail_call_seq/main.cpp +++ b/lldb/test/API/functionalities/tail_call_frames/disambiguate_tail_call_seq/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - volatile int x; void __attribute__((noinline)) sink() { diff --git a/lldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls/main.cpp b/lldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls/main.cpp --- a/lldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls/main.cpp +++ b/lldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - volatile int x; void __attribute__((noinline)) tail_call_sink() { diff --git a/lldb/test/API/functionalities/tail_call_frames/sbapi_support/main.cpp b/lldb/test/API/functionalities/tail_call_frames/sbapi_support/main.cpp --- a/lldb/test/API/functionalities/tail_call_frames/sbapi_support/main.cpp +++ b/lldb/test/API/functionalities/tail_call_frames/sbapi_support/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - volatile int x; void __attribute__((noinline)) sink() { diff --git a/lldb/test/API/functionalities/tail_call_frames/thread_step_out_message/main.cpp b/lldb/test/API/functionalities/tail_call_frames/thread_step_out_message/main.cpp --- a/lldb/test/API/functionalities/tail_call_frames/thread_step_out_message/main.cpp +++ b/lldb/test/API/functionalities/tail_call_frames/thread_step_out_message/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - volatile int x; void __attribute__((noinline)) sink() { diff --git a/lldb/test/API/functionalities/tail_call_frames/thread_step_out_or_return/main.cpp b/lldb/test/API/functionalities/tail_call_frames/thread_step_out_or_return/main.cpp --- a/lldb/test/API/functionalities/tail_call_frames/thread_step_out_or_return/main.cpp +++ b/lldb/test/API/functionalities/tail_call_frames/thread_step_out_or_return/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - volatile int x; void __attribute__((noinline)) sink() { diff --git a/lldb/test/API/functionalities/tail_call_frames/unambiguous_sequence/main.cpp b/lldb/test/API/functionalities/tail_call_frames/unambiguous_sequence/main.cpp --- a/lldb/test/API/functionalities/tail_call_frames/unambiguous_sequence/main.cpp +++ b/lldb/test/API/functionalities/tail_call_frames/unambiguous_sequence/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - volatile int x; void __attribute__((noinline)) sink() { diff --git a/lldb/test/API/functionalities/thread/break_after_join/main.cpp b/lldb/test/API/functionalities/thread/break_after_join/main.cpp --- a/lldb/test/API/functionalities/thread/break_after_join/main.cpp +++ b/lldb/test/API/functionalities/thread/break_after_join/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - // This test is intended to create a situation in which one thread will exit // while a breakpoint is being handled in another thread. This may not always // happen because it's possible that the exiting thread will exit before the diff --git a/lldb/test/API/functionalities/thread/concurrent_events/main.cpp b/lldb/test/API/functionalities/thread/concurrent_events/main.cpp --- a/lldb/test/API/functionalities/thread/concurrent_events/main.cpp +++ b/lldb/test/API/functionalities/thread/concurrent_events/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - // This test is intended to create a situation in which multiple events // (breakpoints, watchpoints, crashes, and signal generation/delivery) happen // from multiple threads. The test expects the debugger to set a breakpoint on diff --git a/lldb/test/API/functionalities/thread/crash_during_step/main.cpp b/lldb/test/API/functionalities/thread/crash_during_step/main.cpp --- a/lldb/test/API/functionalities/thread/crash_during_step/main.cpp +++ b/lldb/test/API/functionalities/thread/crash_during_step/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - void (*crash)() = nullptr; int main() diff --git a/lldb/test/API/functionalities/thread/create_during_step/main.cpp b/lldb/test/API/functionalities/thread/create_during_step/main.cpp --- a/lldb/test/API/functionalities/thread/create_during_step/main.cpp +++ b/lldb/test/API/functionalities/thread/create_during_step/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - // This test is intended to create a situation in which one thread will be // created while the debugger is stepping in another thread. diff --git a/lldb/test/API/functionalities/thread/exit_during_break/main.cpp b/lldb/test/API/functionalities/thread/exit_during_break/main.cpp --- a/lldb/test/API/functionalities/thread/exit_during_break/main.cpp +++ b/lldb/test/API/functionalities/thread/exit_during_break/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - // This test is intended to create a situation in which one thread will exit // while a breakpoint is being handled in another thread. This may not always // happen because it's possible that the exiting thread will exit before the diff --git a/lldb/test/API/functionalities/thread/exit_during_step/main.cpp b/lldb/test/API/functionalities/thread/exit_during_step/main.cpp --- a/lldb/test/API/functionalities/thread/exit_during_step/main.cpp +++ b/lldb/test/API/functionalities/thread/exit_during_step/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - // This test is intended to create a situation in which one thread will exit // while the debugger is stepping in another thread. diff --git a/lldb/test/API/functionalities/thread/jump/main.cpp b/lldb/test/API/functionalities/thread/jump/main.cpp --- a/lldb/test/API/functionalities/thread/jump/main.cpp +++ b/lldb/test/API/functionalities/thread/jump/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - // This test verifies the correct handling of program counter jumps. int otherfn(); diff --git a/lldb/test/API/functionalities/thread/jump/other.cpp b/lldb/test/API/functionalities/thread/jump/other.cpp --- a/lldb/test/API/functionalities/thread/jump/other.cpp +++ b/lldb/test/API/functionalities/thread/jump/other.cpp @@ -1,11 +1,3 @@ -//===-- other.cpp -----------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int otherfn() { return 4; // other marker diff --git a/lldb/test/API/functionalities/thread/multi_break/main.cpp b/lldb/test/API/functionalities/thread/multi_break/main.cpp --- a/lldb/test/API/functionalities/thread/multi_break/main.cpp +++ b/lldb/test/API/functionalities/thread/multi_break/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - // This test is intended to create a situation in which a breakpoint will be // hit in two threads at nearly the same moment. The expected result is that // the breakpoint in the second thread will be hit while the breakpoint handler diff --git a/lldb/test/API/functionalities/thread/state/main.cpp b/lldb/test/API/functionalities/thread/state/main.cpp --- a/lldb/test/API/functionalities/thread/state/main.cpp +++ b/lldb/test/API/functionalities/thread/state/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - // This test is intended to verify that thread states are properly maintained // when transitional actions are performed in the debugger. Most of the logic // is in the test script. This program merely provides places where the test diff --git a/lldb/test/API/functionalities/thread/step_out/main.cpp b/lldb/test/API/functionalities/thread/step_out/main.cpp --- a/lldb/test/API/functionalities/thread/step_out/main.cpp +++ b/lldb/test/API/functionalities/thread/step_out/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - // This test is intended to create a situation in which two threads are stopped // at a breakpoint and the debugger issues a step-out command. diff --git a/lldb/test/API/functionalities/thread/thread_exit/main.cpp b/lldb/test/API/functionalities/thread/thread_exit/main.cpp --- a/lldb/test/API/functionalities/thread/thread_exit/main.cpp +++ b/lldb/test/API/functionalities/thread/thread_exit/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - // This test verifies the correct handling of child thread exits. #include "pseudo_barrier.h" diff --git a/lldb/test/API/functionalities/tsan/basic/main.c b/lldb/test/API/functionalities/tsan/basic/main.c --- a/lldb/test/API/functionalities/tsan/basic/main.c +++ b/lldb/test/API/functionalities/tsan/basic/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/tsan/cpp_global_location/main.cpp b/lldb/test/API/functionalities/tsan/cpp_global_location/main.cpp --- a/lldb/test/API/functionalities/tsan/cpp_global_location/main.cpp +++ b/lldb/test/API/functionalities/tsan/cpp_global_location/main.cpp @@ -1,10 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/tsan/global_location/main.c b/lldb/test/API/functionalities/tsan/global_location/main.c --- a/lldb/test/API/functionalities/tsan/global_location/main.c +++ b/lldb/test/API/functionalities/tsan/global_location/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/tsan/multiple/main.m b/lldb/test/API/functionalities/tsan/multiple/main.m --- a/lldb/test/API/functionalities/tsan/multiple/main.m +++ b/lldb/test/API/functionalities/tsan/multiple/main.m @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - #import #import diff --git a/lldb/test/API/functionalities/tsan/thread_leak/main.c b/lldb/test/API/functionalities/tsan/thread_leak/main.c --- a/lldb/test/API/functionalities/tsan/thread_leak/main.c +++ b/lldb/test/API/functionalities/tsan/thread_leak/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/tsan/thread_numbers/main.c b/lldb/test/API/functionalities/tsan/thread_numbers/main.c --- a/lldb/test/API/functionalities/tsan/thread_numbers/main.c +++ b/lldb/test/API/functionalities/tsan/thread_numbers/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/type_completion/main.cpp b/lldb/test/API/functionalities/type_completion/main.cpp --- a/lldb/test/API/functionalities/type_completion/main.cpp +++ b/lldb/test/API/functionalities/type_completion/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/functionalities/type_lookup/main.mm b/lldb/test/API/functionalities/type_lookup/main.mm --- a/lldb/test/API/functionalities/type_lookup/main.mm +++ b/lldb/test/API/functionalities/type_lookup/main.mm @@ -1,11 +1,3 @@ -//===-- main.mm -----------------------------------------------*- ObjC -*-===// -// -// 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 -// -//===----------------------------------------------------------------------===// - #import class MyCPPClass { diff --git a/lldb/test/API/functionalities/unwind/standard/hand_written/divmod.cpp b/lldb/test/API/functionalities/unwind/standard/hand_written/divmod.cpp --- a/lldb/test/API/functionalities/unwind/standard/hand_written/divmod.cpp +++ b/lldb/test/API/functionalities/unwind/standard/hand_written/divmod.cpp @@ -1,11 +1,3 @@ -//===-- divmod.cpp ----------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int main(int argc, char const *argv[]) { diff --git a/lldb/test/API/functionalities/unwind/standard/hand_written/fprintf.cpp b/lldb/test/API/functionalities/unwind/standard/hand_written/fprintf.cpp --- a/lldb/test/API/functionalities/unwind/standard/hand_written/fprintf.cpp +++ b/lldb/test/API/functionalities/unwind/standard/hand_written/fprintf.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 int diff --git a/lldb/test/API/functionalities/unwind/standard/hand_written/new_delete.cpp b/lldb/test/API/functionalities/unwind/standard/hand_written/new_delete.cpp --- a/lldb/test/API/functionalities/unwind/standard/hand_written/new_delete.cpp +++ b/lldb/test/API/functionalities/unwind/standard/hand_written/new_delete.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int main(int argc, char const *argv[]) { diff --git a/lldb/test/API/functionalities/value_md5_crash/main.cpp b/lldb/test/API/functionalities/value_md5_crash/main.cpp --- a/lldb/test/API/functionalities/value_md5_crash/main.cpp +++ b/lldb/test/API/functionalities/value_md5_crash/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - class A { public: virtual int foo() { return 1; } diff --git a/lldb/test/API/issue_verification/inline_rerun_inferior.cpp b/lldb/test/API/issue_verification/inline_rerun_inferior.cpp --- a/lldb/test/API/issue_verification/inline_rerun_inferior.cpp +++ b/lldb/test/API/issue_verification/inline_rerun_inferior.cpp @@ -1,10 +1,3 @@ -//===-- main.cpp --------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// typedef int Foo; int main() { diff --git a/lldb/test/API/lang/c/array_types/main.c b/lldb/test/API/lang/c/array_types/main.c --- a/lldb/test/API/lang/c/array_types/main.c +++ b/lldb/test/API/lang/c/array_types/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// int main (int argc, char const *argv[]) { struct point_tag { diff --git a/lldb/test/API/lang/c/bitfields/main.c b/lldb/test/API/lang/c/bitfields/main.c --- a/lldb/test/API/lang/c/bitfields/main.c +++ b/lldb/test/API/lang/c/bitfields/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/lang/c/enum_types/main.c b/lldb/test/API/lang/c/enum_types/main.c --- a/lldb/test/API/lang/c/enum_types/main.c +++ b/lldb/test/API/lang/c/enum_types/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include diff --git a/lldb/test/API/lang/c/function_types/main.c b/lldb/test/API/lang/c/function_types/main.c --- a/lldb/test/API/lang/c/function_types/main.c +++ b/lldb/test/API/lang/c/function_types/main.c @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int string_not_empty (const char *s) { if (s && s[0]) diff --git a/lldb/test/API/lang/c/global_variables/a.c b/lldb/test/API/lang/c/global_variables/a.c --- a/lldb/test/API/lang/c/global_variables/a.c +++ b/lldb/test/API/lang/c/global_variables/a.c @@ -1,10 +1,3 @@ -//===-- a.c -----------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// int g_a = 123; struct Point { int x; diff --git a/lldb/test/API/lang/c/global_variables/main.c b/lldb/test/API/lang/c/global_variables/main.c --- a/lldb/test/API/lang/c/global_variables/main.c +++ b/lldb/test/API/lang/c/global_variables/main.c @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int g_common_1; // Not initialized on purpose to cause it to be undefined external in .o file int g_file_global_int = 42; static const int g_file_static_int = 2; diff --git a/lldb/test/API/lang/c/set_values/main.c b/lldb/test/API/lang/c/set_values/main.c --- a/lldb/test/API/lang/c/set_values/main.c +++ b/lldb/test/API/lang/c/set_values/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 void set_char(void) diff --git a/lldb/test/API/lang/c/stepping/main.c b/lldb/test/API/lang/c/stepping/main.c --- a/lldb/test/API/lang/c/stepping/main.c +++ b/lldb/test/API/lang/c/stepping/main.c @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int a(int); int b(int); int c(int); diff --git a/lldb/test/API/lang/c/strings/main.c b/lldb/test/API/lang/c/strings/main.c --- a/lldb/test/API/lang/c/strings/main.c +++ b/lldb/test/API/lang/c/strings/main.c @@ -1,11 +1,3 @@ -//===-- main.c ----------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int main() { const char a[] = "abcde"; diff --git a/lldb/test/API/lang/c/struct_types/main.c b/lldb/test/API/lang/c/struct_types/main.c --- a/lldb/test/API/lang/c/struct_types/main.c +++ b/lldb/test/API/lang/c/struct_types/main.c @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - struct things_to_sum { int a; int b; diff --git a/lldb/test/API/lang/c/tls_globals/a.c b/lldb/test/API/lang/c/tls_globals/a.c --- a/lldb/test/API/lang/c/tls_globals/a.c +++ b/lldb/test/API/lang/c/tls_globals/a.c @@ -1,11 +1,3 @@ -//===-- a.c -----------------------------------------------------*- 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 __thread int var_shared = 33; diff --git a/lldb/test/API/lang/c/tls_globals/main.c b/lldb/test/API/lang/c/tls_globals/main.c --- a/lldb/test/API/lang/c/tls_globals/main.c +++ b/lldb/test/API/lang/c/tls_globals/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/lang/c/typedef/main.c b/lldb/test/API/lang/c/typedef/main.c --- a/lldb/test/API/lang/c/typedef/main.c +++ b/lldb/test/API/lang/c/typedef/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// void test() { typedef double * a; diff --git a/lldb/test/API/lang/cpp/auto/main.cpp b/lldb/test/API/lang/cpp/auto/main.cpp --- a/lldb/test/API/lang/cpp/auto/main.cpp +++ b/lldb/test/API/lang/cpp/auto/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int main() { long foo = 1234; diff --git a/lldb/test/API/lang/cpp/bool/main.cpp b/lldb/test/API/lang/cpp/bool/main.cpp --- a/lldb/test/API/lang/cpp/bool/main.cpp +++ b/lldb/test/API/lang/cpp/bool/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 int main() diff --git a/lldb/test/API/lang/cpp/char1632_t/main.cpp b/lldb/test/API/lang/cpp/char1632_t/main.cpp --- a/lldb/test/API/lang/cpp/char1632_t/main.cpp +++ b/lldb/test/API/lang/cpp/char1632_t/main.cpp @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include diff --git a/lldb/test/API/lang/cpp/class-template-parameter-pack/main.cpp b/lldb/test/API/lang/cpp/class-template-parameter-pack/main.cpp --- a/lldb/test/API/lang/cpp/class-template-parameter-pack/main.cpp +++ b/lldb/test/API/lang/cpp/class-template-parameter-pack/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - template struct C { T member; bool isSixteenThirtyTwo() { return false; } diff --git a/lldb/test/API/lang/cpp/class_static/main.cpp b/lldb/test/API/lang/cpp/class_static/main.cpp --- a/lldb/test/API/lang/cpp/class_static/main.cpp +++ b/lldb/test/API/lang/cpp/class_static/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - // I made this example after noting that I was unable to display an unsized // static class array. It turns out that gcc 4.2 will emit DWARF that correctly // describes the PointType, but it will incorrectly emit debug info for the diff --git a/lldb/test/API/lang/cpp/class_types/main.cpp b/lldb/test/API/lang/cpp/class_types/main.cpp --- a/lldb/test/API/lang/cpp/class_types/main.cpp +++ b/lldb/test/API/lang/cpp/class_types/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - class Conversion { public: diff --git a/lldb/test/API/lang/cpp/const_this/main.cpp b/lldb/test/API/lang/cpp/const_this/main.cpp --- a/lldb/test/API/lang/cpp/const_this/main.cpp +++ b/lldb/test/API/lang/cpp/const_this/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 class foo { diff --git a/lldb/test/API/lang/cpp/diamond/main.cpp b/lldb/test/API/lang/cpp/diamond/main.cpp --- a/lldb/test/API/lang/cpp/diamond/main.cpp +++ b/lldb/test/API/lang/cpp/diamond/main.cpp @@ -1,10 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 static int g_next_value = 12345; diff --git a/lldb/test/API/lang/cpp/dynamic-value/sbvalue-cast.cpp b/lldb/test/API/lang/cpp/dynamic-value/sbvalue-cast.cpp --- a/lldb/test/API/lang/cpp/dynamic-value/sbvalue-cast.cpp +++ b/lldb/test/API/lang/cpp/dynamic-value/sbvalue-cast.cpp @@ -1,10 +1,3 @@ -//===-- sbvalue-cast.cpp ----------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// #ifdef DO_VIRTUAL_INHERITANCE #define VIRTUAL virtual #else diff --git a/lldb/test/API/lang/cpp/enum_types/main.cpp b/lldb/test/API/lang/cpp/enum_types/main.cpp --- a/lldb/test/API/lang/cpp/enum_types/main.cpp +++ b/lldb/test/API/lang/cpp/enum_types/main.cpp @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include diff --git a/lldb/test/API/lang/cpp/extern_c/main.cpp b/lldb/test/API/lang/cpp/extern_c/main.cpp --- a/lldb/test/API/lang/cpp/extern_c/main.cpp +++ b/lldb/test/API/lang/cpp/extern_c/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 #include diff --git a/lldb/test/API/lang/cpp/frame-var-anon-unions/main.cpp b/lldb/test/API/lang/cpp/frame-var-anon-unions/main.cpp --- a/lldb/test/API/lang/cpp/frame-var-anon-unions/main.cpp +++ b/lldb/test/API/lang/cpp/frame-var-anon-unions/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int main() { union { int i; diff --git a/lldb/test/API/lang/cpp/function-template-parameter-pack/main.cpp b/lldb/test/API/lang/cpp/function-template-parameter-pack/main.cpp --- a/lldb/test/API/lang/cpp/function-template-parameter-pack/main.cpp +++ b/lldb/test/API/lang/cpp/function-template-parameter-pack/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - template int staticSizeof() { return sizeof(T); } diff --git a/lldb/test/API/lang/cpp/global_variables/main.cpp b/lldb/test/API/lang/cpp/global_variables/main.cpp --- a/lldb/test/API/lang/cpp/global_variables/main.cpp +++ b/lldb/test/API/lang/cpp/global_variables/main.cpp @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 namespace abc { diff --git a/lldb/test/API/lang/cpp/lambdas/main.cpp b/lldb/test/API/lang/cpp/lambdas/main.cpp --- a/lldb/test/API/lang/cpp/lambdas/main.cpp +++ b/lldb/test/API/lang/cpp/lambdas/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 int main (int argc, char const *argv[]) diff --git a/lldb/test/API/lang/cpp/llvm-style/main.cpp b/lldb/test/API/lang/cpp/llvm-style/main.cpp --- a/lldb/test/API/lang/cpp/llvm-style/main.cpp +++ b/lldb/test/API/lang/cpp/llvm-style/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - namespace n { struct D { int i; diff --git a/lldb/test/API/lang/cpp/namespace/main.cpp b/lldb/test/API/lang/cpp/namespace/main.cpp --- a/lldb/test/API/lang/cpp/namespace/main.cpp +++ b/lldb/test/API/lang/cpp/namespace/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 #include #include "ns.h" diff --git a/lldb/test/API/lang/cpp/namespace/ns.h b/lldb/test/API/lang/cpp/namespace/ns.h --- a/lldb/test/API/lang/cpp/namespace/ns.h +++ b/lldb/test/API/lang/cpp/namespace/ns.h @@ -1,11 +1,3 @@ -//===-- ns.h ------------------------------------------------*- 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 void test_lookup_at_global_scope(); diff --git a/lldb/test/API/lang/cpp/namespace/ns.cpp b/lldb/test/API/lang/cpp/namespace/ns.cpp --- a/lldb/test/API/lang/cpp/namespace/ns.cpp +++ b/lldb/test/API/lang/cpp/namespace/ns.cpp @@ -1,11 +1,3 @@ -//===-- ns.cpp ------------------------------------------------*- 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 "ns.h" int foo() diff --git a/lldb/test/API/lang/cpp/namespace/ns2.cpp b/lldb/test/API/lang/cpp/namespace/ns2.cpp --- a/lldb/test/API/lang/cpp/namespace/ns2.cpp +++ b/lldb/test/API/lang/cpp/namespace/ns2.cpp @@ -1,11 +1,3 @@ -//===-- ns2.cpp ------------------------------------------------*- 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 "ns.h" static int func() diff --git a/lldb/test/API/lang/cpp/namespace/ns3.cpp b/lldb/test/API/lang/cpp/namespace/ns3.cpp --- a/lldb/test/API/lang/cpp/namespace/ns3.cpp +++ b/lldb/test/API/lang/cpp/namespace/ns3.cpp @@ -1,11 +1,3 @@ -//===-- ns3.cpp ------------------------------------------------*- 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 "ns.h" extern int func(); diff --git a/lldb/test/API/lang/cpp/namespace_conflicts/main.cpp b/lldb/test/API/lang/cpp/namespace_conflicts/main.cpp --- a/lldb/test/API/lang/cpp/namespace_conflicts/main.cpp +++ b/lldb/test/API/lang/cpp/namespace_conflicts/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - namespace n { struct D { int i; diff --git a/lldb/test/API/lang/cpp/namespace_definitions/a.cpp b/lldb/test/API/lang/cpp/namespace_definitions/a.cpp --- a/lldb/test/API/lang/cpp/namespace_definitions/a.cpp +++ b/lldb/test/API/lang/cpp/namespace_definitions/a.cpp @@ -1,11 +1,3 @@ -//===-- a.cpp ---------------------------------------------------*- 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 "foo.h" class ThingInside { diff --git a/lldb/test/API/lang/cpp/namespace_definitions/b.cpp b/lldb/test/API/lang/cpp/namespace_definitions/b.cpp --- a/lldb/test/API/lang/cpp/namespace_definitions/b.cpp +++ b/lldb/test/API/lang/cpp/namespace_definitions/b.cpp @@ -1,11 +1,3 @@ -//===-- b.cpp ---------------------------------------------------*- 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 "foo.h" Foo::MyClass b_class; diff --git a/lldb/test/API/lang/cpp/namespace_definitions/foo.h b/lldb/test/API/lang/cpp/namespace_definitions/foo.h --- a/lldb/test/API/lang/cpp/namespace_definitions/foo.h +++ b/lldb/test/API/lang/cpp/namespace_definitions/foo.h @@ -1,11 +1,3 @@ -//===-- foo.h ---------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - class ThingInside; namespace Foo { diff --git a/lldb/test/API/lang/cpp/namespace_definitions/main.cpp b/lldb/test/API/lang/cpp/namespace_definitions/main.cpp --- a/lldb/test/API/lang/cpp/namespace_definitions/main.cpp +++ b/lldb/test/API/lang/cpp/namespace_definitions/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 int diff --git a/lldb/test/API/lang/cpp/printf/main.cpp b/lldb/test/API/lang/cpp/printf/main.cpp --- a/lldb/test/API/lang/cpp/printf/main.cpp +++ b/lldb/test/API/lang/cpp/printf/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - class PrintfContainer { public: int printf() { diff --git a/lldb/test/API/lang/cpp/signed_types/main.cpp b/lldb/test/API/lang/cpp/signed_types/main.cpp --- a/lldb/test/API/lang/cpp/signed_types/main.cpp +++ b/lldb/test/API/lang/cpp/signed_types/main.cpp @@ -1,10 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 int main (int argc, char const *argv[]) diff --git a/lldb/test/API/lang/cpp/static_members/main.cpp b/lldb/test/API/lang/cpp/static_members/main.cpp --- a/lldb/test/API/lang/cpp/static_members/main.cpp +++ b/lldb/test/API/lang/cpp/static_members/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - struct A { short m_a; diff --git a/lldb/test/API/lang/cpp/static_methods/main.cpp b/lldb/test/API/lang/cpp/static_methods/main.cpp --- a/lldb/test/API/lang/cpp/static_methods/main.cpp +++ b/lldb/test/API/lang/cpp/static_methods/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 class A diff --git a/lldb/test/API/lang/cpp/stl/main.cpp b/lldb/test/API/lang/cpp/stl/main.cpp --- a/lldb/test/API/lang/cpp/stl/main.cpp +++ b/lldb/test/API/lang/cpp/stl/main.cpp @@ -1,10 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/lang/cpp/symbols/main.cpp b/lldb/test/API/lang/cpp/symbols/main.cpp --- a/lldb/test/API/lang/cpp/symbols/main.cpp +++ b/lldb/test/API/lang/cpp/symbols/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - void *D = 0; class D { diff --git a/lldb/test/API/lang/cpp/template-function/main.cpp b/lldb/test/API/lang/cpp/template-function/main.cpp --- a/lldb/test/API/lang/cpp/template-function/main.cpp +++ b/lldb/test/API/lang/cpp/template-function/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - template int foo(T t1) { return int(t1); diff --git a/lldb/test/API/lang/cpp/template/main.cpp b/lldb/test/API/lang/cpp/template/main.cpp --- a/lldb/test/API/lang/cpp/template/main.cpp +++ b/lldb/test/API/lang/cpp/template/main.cpp @@ -1,10 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 template diff --git a/lldb/test/API/lang/cpp/this/main.cpp b/lldb/test/API/lang/cpp/this/main.cpp --- a/lldb/test/API/lang/cpp/this/main.cpp +++ b/lldb/test/API/lang/cpp/this/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 template class A diff --git a/lldb/test/API/lang/cpp/type_lookup/main.cpp b/lldb/test/API/lang/cpp/type_lookup/main.cpp --- a/lldb/test/API/lang/cpp/type_lookup/main.cpp +++ b/lldb/test/API/lang/cpp/type_lookup/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - // In this test, we define struct that exist might exist at the different // levels in the code and test that we can properly locate these types with // a varienty of different expressions. diff --git a/lldb/test/API/lang/cpp/unicode-literals/main.cpp b/lldb/test/API/lang/cpp/unicode-literals/main.cpp --- a/lldb/test/API/lang/cpp/unicode-literals/main.cpp +++ b/lldb/test/API/lang/cpp/unicode-literals/main.cpp @@ -1,12 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - - int main (int argc, char const *argv[]) { auto cs16 = u"hello world ྒྙྐ"; diff --git a/lldb/test/API/lang/cpp/unique-types/main.cpp b/lldb/test/API/lang/cpp/unique-types/main.cpp --- a/lldb/test/API/lang/cpp/unique-types/main.cpp +++ b/lldb/test/API/lang/cpp/unique-types/main.cpp @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include diff --git a/lldb/test/API/lang/cpp/unsigned_types/main.cpp b/lldb/test/API/lang/cpp/unsigned_types/main.cpp --- a/lldb/test/API/lang/cpp/unsigned_types/main.cpp +++ b/lldb/test/API/lang/cpp/unsigned_types/main.cpp @@ -1,10 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// int main (int argc, char const *argv[]) { typedef unsigned int uint32_t; diff --git a/lldb/test/API/lang/cpp/wchar_t/main.cpp b/lldb/test/API/lang/cpp/wchar_t/main.cpp --- a/lldb/test/API/lang/cpp/wchar_t/main.cpp +++ b/lldb/test/API/lang/cpp/wchar_t/main.cpp @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 template diff --git a/lldb/test/API/lang/objc/bitfield_ivars/main.m b/lldb/test/API/lang/objc/bitfield_ivars/main.m --- a/lldb/test/API/lang/objc/bitfield_ivars/main.m +++ b/lldb/test/API/lang/objc/bitfield_ivars/main.m @@ -1,11 +1,3 @@ -//===-- main.m -------------------------------------------*- Objective-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 -// -//===----------------------------------------------------------------------===// - #import @interface HasBitfield : NSObject { diff --git a/lldb/test/API/lang/objc/exceptions/TestObjCExceptions.py b/lldb/test/API/lang/objc/exceptions/TestObjCExceptions.py --- a/lldb/test/API/lang/objc/exceptions/TestObjCExceptions.py +++ b/lldb/test/API/lang/objc/exceptions/TestObjCExceptions.py @@ -142,8 +142,8 @@ '(NSException *) exception = ', '"SomeReason"', 'libobjc.A.dylib`objc_exception_throw', - 'a.out`foo', 'at main.mm:24', - 'a.out`rethrow', 'at main.mm:35', + 'a.out`foo', 'at main.mm:16', + 'a.out`rethrow', 'at main.mm:27', 'a.out`main', ]) @@ -169,8 +169,8 @@ self.expect('thread exception', substrs=[ '(MyCustomException *) exception = ', 'libobjc.A.dylib`objc_exception_throw', - 'a.out`foo', 'at main.mm:26', - 'a.out`rethrow', 'at main.mm:35', + 'a.out`foo', 'at main.mm:18', + 'a.out`rethrow', 'at main.mm:27', 'a.out`main', ]) diff --git a/lldb/test/API/lang/objc/exceptions/main.mm b/lldb/test/API/lang/objc/exceptions/main.mm --- a/lldb/test/API/lang/objc/exceptions/main.mm +++ b/lldb/test/API/lang/objc/exceptions/main.mm @@ -1,11 +1,3 @@ -//===-- main.m ------------------------------------------------*- ObjC -*-===// -// -// 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 -// -//===----------------------------------------------------------------------===// - #import #import diff --git a/lldb/test/API/lang/objc/print-obj/blocked.m b/lldb/test/API/lang/objc/print-obj/blocked.m --- a/lldb/test/API/lang/objc/print-obj/blocked.m +++ b/lldb/test/API/lang/objc/print-obj/blocked.m @@ -1,11 +1,3 @@ -//===-- blocked.m --------------------------------------------------*- ObjC -*-===// -// -// 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 -// -//===----------------------------------------------------------------------===// - // This file is for testing running "print object" in a case where another thread // blocks the print object from making progress. Set a breakpoint on the line in // my_pthread_routine as indicated. Then switch threads to the main thread, and diff --git a/lldb/test/API/lang/objc/ptr_refs/main.m b/lldb/test/API/lang/objc/ptr_refs/main.m --- a/lldb/test/API/lang/objc/ptr_refs/main.m +++ b/lldb/test/API/lang/objc/ptr_refs/main.m @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - #import @interface MyClass : NSObject { diff --git a/lldb/test/API/lang/objc/self/main.m b/lldb/test/API/lang/objc/self/main.m --- a/lldb/test/API/lang/objc/self/main.m +++ b/lldb/test/API/lang/objc/self/main.m @@ -1,11 +1,3 @@ -//===-- main.m ------------------------------------------*- Objective-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 -// -//===----------------------------------------------------------------------===// - #import @interface A : NSObject diff --git a/lldb/test/API/lang/objc/variadic_methods/main.m b/lldb/test/API/lang/objc/variadic_methods/main.m --- a/lldb/test/API/lang/objc/variadic_methods/main.m +++ b/lldb/test/API/lang/objc/variadic_methods/main.m @@ -1,11 +1,3 @@ -//===-- main.m -------------------------------------------*- Objective-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 -// -//===----------------------------------------------------------------------===// - #import @interface VarClass : NSObject diff --git a/lldb/test/API/linux/builtin_trap/main.cpp b/lldb/test/API/linux/builtin_trap/main.cpp --- a/lldb/test/API/linux/builtin_trap/main.cpp +++ b/lldb/test/API/linux/builtin_trap/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - void bar(int const *foo) { __builtin_trap(); // Set break point at this line. } diff --git a/lldb/test/API/linux/thread/create_during_instruction_step/main.cpp b/lldb/test/API/linux/thread/create_during_instruction_step/main.cpp --- a/lldb/test/API/linux/thread/create_during_instruction_step/main.cpp +++ b/lldb/test/API/linux/thread/create_during_instruction_step/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - // This file deliberately uses low level linux-specific API for thread creation because: // - instruction-stepping over thread creation using higher-level functions was very slow // - it was also unreliable due to single-stepping bugs unrelated to this test diff --git a/lldb/test/API/macosx/duplicate-archive-members/a.c b/lldb/test/API/macosx/duplicate-archive-members/a.c --- a/lldb/test/API/macosx/duplicate-archive-members/a.c +++ b/lldb/test/API/macosx/duplicate-archive-members/a.c @@ -1,10 +1,3 @@ -//===-- a.c -----------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// int __a_global = 1; int a(int arg) { diff --git a/lldb/test/API/macosx/duplicate-archive-members/main.c b/lldb/test/API/macosx/duplicate-archive-members/main.c --- a/lldb/test/API/macosx/duplicate-archive-members/main.c +++ b/lldb/test/API/macosx/duplicate-archive-members/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 extern int a(int); diff --git a/lldb/test/API/macosx/duplicate-archive-members/sub1/a.c b/lldb/test/API/macosx/duplicate-archive-members/sub1/a.c --- a/lldb/test/API/macosx/duplicate-archive-members/sub1/a.c +++ b/lldb/test/API/macosx/duplicate-archive-members/sub1/a.c @@ -1,10 +1,3 @@ -//===-- a.c -----------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// static int __b_global = 2; int b(int arg) { diff --git a/lldb/test/API/macosx/nslog/main.m b/lldb/test/API/macosx/nslog/main.m --- a/lldb/test/API/macosx/nslog/main.m +++ b/lldb/test/API/macosx/nslog/main.m @@ -1,11 +1,3 @@ -//===-- main.m --------------------------------------------------*- 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 int main(int argc, char** argv) diff --git a/lldb/test/API/macosx/order/main.c b/lldb/test/API/macosx/order/main.c --- a/lldb/test/API/macosx/order/main.c +++ b/lldb/test/API/macosx/order/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 diff --git a/lldb/test/API/python_api/class_members/main.mm b/lldb/test/API/python_api/class_members/main.mm --- a/lldb/test/API/python_api/class_members/main.mm +++ b/lldb/test/API/python_api/class_members/main.mm @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - #import class Base { diff --git a/lldb/test/API/python_api/event/main.c b/lldb/test/API/python_api/event/main.c --- a/lldb/test/API/python_api/event/main.c +++ b/lldb/test/API/python_api/event/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 // This simple program is to test the lldb Python API related to events. diff --git a/lldb/test/API/python_api/exprpath_synthetic/main.mm b/lldb/test/API/python_api/exprpath_synthetic/main.mm --- a/lldb/test/API/python_api/exprpath_synthetic/main.mm +++ b/lldb/test/API/python_api/exprpath_synthetic/main.mm @@ -1,10 +1,3 @@ -//===-- main.mm --------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// #import #include diff --git a/lldb/test/API/python_api/frame/get-variables/main.c b/lldb/test/API/python_api/frame/get-variables/main.c --- a/lldb/test/API/python_api/frame/get-variables/main.c +++ b/lldb/test/API/python_api/frame/get-variables/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 int g_global_var = 123; diff --git a/lldb/test/API/python_api/frame/main.c b/lldb/test/API/python_api/frame/main.c --- a/lldb/test/API/python_api/frame/main.c +++ b/lldb/test/API/python_api/frame/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 // This simple program is to test the lldb Python API related to frames. diff --git a/lldb/test/API/python_api/function_symbol/main.c b/lldb/test/API/python_api/function_symbol/main.c --- a/lldb/test/API/python_api/function_symbol/main.c +++ b/lldb/test/API/python_api/function_symbol/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 // This simple program is to test the lldb Python APIs SBTarget, SBFrame, diff --git a/lldb/test/API/python_api/lldbutil/frame/main.c b/lldb/test/API/python_api/lldbutil/frame/main.c --- a/lldb/test/API/python_api/lldbutil/frame/main.c +++ b/lldb/test/API/python_api/lldbutil/frame/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 int a(int); diff --git a/lldb/test/API/python_api/lldbutil/iter/main.cpp b/lldb/test/API/python_api/lldbutil/iter/main.cpp --- a/lldb/test/API/python_api/lldbutil/iter/main.cpp +++ b/lldb/test/API/python_api/lldbutil/iter/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - // C includes #include #include diff --git a/lldb/test/API/python_api/lldbutil/process/main.cpp b/lldb/test/API/python_api/lldbutil/process/main.cpp --- a/lldb/test/API/python_api/lldbutil/process/main.cpp +++ b/lldb/test/API/python_api/lldbutil/process/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - static int foo(int x, int y) { return x + y; // BREAK HERE } diff --git a/lldb/test/API/python_api/objc_type/main.m b/lldb/test/API/python_api/objc_type/main.m --- a/lldb/test/API/python_api/objc_type/main.m +++ b/lldb/test/API/python_api/objc_type/main.m @@ -1,11 +1,3 @@ -//===-- main.m ------------------------------------------------*- ObjC -*-===// -// -// 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 -// -//===----------------------------------------------------------------------===// - #import @interface Foo: NSObject diff --git a/lldb/test/API/python_api/process/main.cpp b/lldb/test/API/python_api/process/main.cpp --- a/lldb/test/API/python_api/process/main.cpp +++ b/lldb/test/API/python_api/process/main.cpp @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include diff --git a/lldb/test/API/python_api/sbdata/main.cpp b/lldb/test/API/python_api/sbdata/main.cpp --- a/lldb/test/API/python_api/sbdata/main.cpp +++ b/lldb/test/API/python_api/sbdata/main.cpp @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 struct foo diff --git a/lldb/test/API/python_api/sbtype_typeclass/main.m b/lldb/test/API/python_api/sbtype_typeclass/main.m --- a/lldb/test/API/python_api/sbtype_typeclass/main.m +++ b/lldb/test/API/python_api/sbtype_typeclass/main.m @@ -1,10 +1,3 @@ -//===-- main.m --------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// #import @interface ThisClassTestsThings : NSObject diff --git a/lldb/test/API/python_api/section/main.c b/lldb/test/API/python_api/section/main.c --- a/lldb/test/API/python_api/section/main.c +++ b/lldb/test/API/python_api/section/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include diff --git a/lldb/test/API/python_api/signals/main.cpp b/lldb/test/API/python_api/signals/main.cpp --- a/lldb/test/API/python_api/signals/main.cpp +++ b/lldb/test/API/python_api/signals/main.cpp @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include #if defined(_WIN32) diff --git a/lldb/test/API/python_api/symbol-context/main.c b/lldb/test/API/python_api/symbol-context/main.c --- a/lldb/test/API/python_api/symbol-context/main.c +++ b/lldb/test/API/python_api/symbol-context/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 // This simple program is to test the lldb Python API SBSymbolContext. diff --git a/lldb/test/API/python_api/target/main.c b/lldb/test/API/python_api/target/main.c --- a/lldb/test/API/python_api/target/main.c +++ b/lldb/test/API/python_api/target/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 // This simple program is to test the lldb Python API SBTarget. diff --git a/lldb/test/API/python_api/thread/main.cpp b/lldb/test/API/python_api/thread/main.cpp --- a/lldb/test/API/python_api/thread/main.cpp +++ b/lldb/test/API/python_api/thread/main.cpp @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 // This simple program is to test the lldb Python API related to thread. diff --git a/lldb/test/API/python_api/thread/main2.cpp b/lldb/test/API/python_api/thread/main2.cpp --- a/lldb/test/API/python_api/thread/main2.cpp +++ b/lldb/test/API/python_api/thread/main2.cpp @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include diff --git a/lldb/test/API/python_api/type/main.cpp b/lldb/test/API/python_api/type/main.cpp --- a/lldb/test/API/python_api/type/main.cpp +++ b/lldb/test/API/python_api/type/main.cpp @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 class Task { diff --git a/lldb/test/API/python_api/value/empty_class/main.cpp b/lldb/test/API/python_api/value/empty_class/main.cpp --- a/lldb/test/API/python_api/value/empty_class/main.cpp +++ b/lldb/test/API/python_api/value/empty_class/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - class Empty {}; int main (int argc, char const *argv[]) { diff --git a/lldb/test/API/python_api/value/linked_list/main.cpp b/lldb/test/API/python_api/value/linked_list/main.cpp --- a/lldb/test/API/python_api/value/linked_list/main.cpp +++ b/lldb/test/API/python_api/value/linked_list/main.cpp @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 class Task { diff --git a/lldb/test/API/python_api/value/main.c b/lldb/test/API/python_api/value/main.c --- a/lldb/test/API/python_api/value/main.c +++ b/lldb/test/API/python_api/value/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include diff --git a/lldb/test/API/python_api/watchpoint/condition/main.cpp b/lldb/test/API/python_api/watchpoint/condition/main.cpp --- a/lldb/test/API/python_api/watchpoint/condition/main.cpp +++ b/lldb/test/API/python_api/watchpoint/condition/main.cpp @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include diff --git a/lldb/test/API/python_api/watchpoint/main.c b/lldb/test/API/python_api/watchpoint/main.c --- a/lldb/test/API/python_api/watchpoint/main.c +++ b/lldb/test/API/python_api/watchpoint/main.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include diff --git a/lldb/test/API/python_api/watchpoint/watchlocation/main.cpp b/lldb/test/API/python_api/watchpoint/watchlocation/main.cpp --- a/lldb/test/API/python_api/watchpoint/watchlocation/main.cpp +++ b/lldb/test/API/python_api/watchpoint/watchlocation/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/tools/lldb-server/libraries-svr4/main.cpp b/lldb/test/API/tools/lldb-server/libraries-svr4/main.cpp --- a/lldb/test/API/tools/lldb-server/libraries-svr4/main.cpp +++ b/lldb/test/API/tools/lldb-server/libraries-svr4/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int main(int argc, char **argv) { // Perform a null pointer access. int *const null_int_ptr = nullptr; diff --git a/lldb/test/API/tools/lldb-server/libraries-svr4/svr4lib_a.cpp b/lldb/test/API/tools/lldb-server/libraries-svr4/svr4lib_a.cpp --- a/lldb/test/API/tools/lldb-server/libraries-svr4/svr4lib_a.cpp +++ b/lldb/test/API/tools/lldb-server/libraries-svr4/svr4lib_a.cpp @@ -1,9 +1 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int svr4lib_a() { return 42; } diff --git a/lldb/test/API/tools/lldb-server/libraries-svr4/svr4lib_b_quote.cpp b/lldb/test/API/tools/lldb-server/libraries-svr4/svr4lib_b_quote.cpp --- a/lldb/test/API/tools/lldb-server/libraries-svr4/svr4lib_b_quote.cpp +++ b/lldb/test/API/tools/lldb-server/libraries-svr4/svr4lib_b_quote.cpp @@ -1,9 +1 @@ -//===-- main.cpp ------------------------------------------------*- 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 -// -//===----------------------------------------------------------------------===// - int svr4lib_b_quote() { return 42; } diff --git a/lldb/test/API/tools/lldb-server/main.cpp b/lldb/test/API/tools/lldb-server/main.cpp --- a/lldb/test/API/tools/lldb-server/main.cpp +++ b/lldb/test/API/tools/lldb-server/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 #include #include diff --git a/lldb/test/API/tools/lldb-server/signal-filtering/main.cpp b/lldb/test/API/tools/lldb-server/signal-filtering/main.cpp --- a/lldb/test/API/tools/lldb-server/signal-filtering/main.cpp +++ b/lldb/test/API/tools/lldb-server/signal-filtering/main.cpp @@ -1,11 +1,3 @@ -//===-- main.cpp ------------------------------------------------*- 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 #include #include diff --git a/lldb/test/Shell/ExecControl/StopHook/Inputs/stop-hook-2.lldbinit b/lldb/test/Shell/ExecControl/StopHook/Inputs/stop-hook-2.lldbinit --- a/lldb/test/Shell/ExecControl/StopHook/Inputs/stop-hook-2.lldbinit +++ b/lldb/test/Shell/ExecControl/StopHook/Inputs/stop-hook-2.lldbinit @@ -1 +1 @@ -target stop-hook add -f stop-hook.c -l 29 -e 34 -o "expr ptr" +target stop-hook add -f stop-hook.c -l 21 -e 26 -o "expr ptr" diff --git a/lldb/test/Shell/ExecControl/StopHook/Inputs/stop-hook-3.lldbinit b/lldb/test/Shell/ExecControl/StopHook/Inputs/stop-hook-3.lldbinit --- a/lldb/test/Shell/ExecControl/StopHook/Inputs/stop-hook-3.lldbinit +++ b/lldb/test/Shell/ExecControl/StopHook/Inputs/stop-hook-3.lldbinit @@ -1,3 +1,3 @@ -target stop-hook add -f stop-hook.c -l 29 -e 34 +target stop-hook add -f stop-hook.c -l 21 -e26 expr ptr DONE diff --git a/lldb/test/Shell/ExecControl/StopHook/Inputs/stop-hook-threads.cpp b/lldb/test/Shell/ExecControl/StopHook/Inputs/stop-hook-threads.cpp --- a/lldb/test/Shell/ExecControl/StopHook/Inputs/stop-hook-threads.cpp +++ b/lldb/test/Shell/ExecControl/StopHook/Inputs/stop-hook-threads.cpp @@ -1,11 +1,3 @@ -//===-- stop-hook-threads.cpp -----------------------------------*- 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 #include #include diff --git a/lldb/test/Shell/ExecControl/StopHook/Inputs/stop-hook.c b/lldb/test/Shell/ExecControl/StopHook/Inputs/stop-hook.c --- a/lldb/test/Shell/ExecControl/StopHook/Inputs/stop-hook.c +++ b/lldb/test/Shell/ExecControl/StopHook/Inputs/stop-hook.c @@ -1,10 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 #include diff --git a/lldb/test/Shell/Reproducer/Inputs/GDBRemoteCapture.in b/lldb/test/Shell/Reproducer/Inputs/GDBRemoteCapture.in --- a/lldb/test/Shell/Reproducer/Inputs/GDBRemoteCapture.in +++ b/lldb/test/Shell/Reproducer/Inputs/GDBRemoteCapture.in @@ -1,4 +1,4 @@ -breakpoint set -f simple.c -l 12 +breakpoint set -f simple.c -l 4 run bt cont diff --git a/lldb/test/Shell/Reproducer/Inputs/GDBRemoteCrashCapture.in b/lldb/test/Shell/Reproducer/Inputs/GDBRemoteCrashCapture.in --- a/lldb/test/Shell/Reproducer/Inputs/GDBRemoteCrashCapture.in +++ b/lldb/test/Shell/Reproducer/Inputs/GDBRemoteCrashCapture.in @@ -1,4 +1,4 @@ -breakpoint set -f simple.c -l 12 +breakpoint set -f simple.c -l 4 run bt cont diff --git a/lldb/test/Shell/Reproducer/Inputs/MultipleTargetsCapture.in b/lldb/test/Shell/Reproducer/Inputs/MultipleTargetsCapture.in --- a/lldb/test/Shell/Reproducer/Inputs/MultipleTargetsCapture.in +++ b/lldb/test/Shell/Reproducer/Inputs/MultipleTargetsCapture.in @@ -1,8 +1,8 @@ target select 0 -breakpoint set -f simple.c -l 12 +breakpoint set -f simple.c -l 4 run target select 1 -breakpoint set -f simple.c -l 16 +breakpoint set -f simple.c -l 8 run target select 0 cont diff --git a/lldb/test/Shell/Reproducer/Inputs/simple.c b/lldb/test/Shell/Reproducer/Inputs/simple.c --- a/lldb/test/Shell/Reproducer/Inputs/simple.c +++ b/lldb/test/Shell/Reproducer/Inputs/simple.c @@ -1,11 +1,3 @@ -//===-- main.c --------------------------------------------------*- 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 void foo() { diff --git a/lldb/test/Shell/Reproducer/TestMultipleTargets.test b/lldb/test/Shell/Reproducer/TestMultipleTargets.test --- a/lldb/test/Shell/Reproducer/TestMultipleTargets.test +++ b/lldb/test/Shell/Reproducer/TestMultipleTargets.test @@ -10,10 +10,10 @@ # CHECK: Process [[TARGET0:[0-9]+]] stopped # CHECK: stop reason = breakpoint 1.1 -# CHECK: simple.c:12:5 +# CHECK: simple.c:4:5 # CHECK: Process [[TARGET1:[0-9]+]] stopped # CHECK: stop reason = breakpoint 1.1 -# CHECK: simple.c:16:5 +# CHECK: simple.c:8:5 # CHECK: Process [[TARGET0]] resuming # CHECK: Process [[TARGET0]] exited # CHECK: Process [[TARGET1]] resuming