diff options
Diffstat (limited to 'compiler-rt/test')
143 files changed, 429 insertions, 394 deletions
diff --git a/compiler-rt/test/BlocksRuntime/block-static.c b/compiler-rt/test/BlocksRuntime/block-static.c index d38c816cf01..6c51528acf7 100644 --- a/compiler-rt/test/BlocksRuntime/block-static.c +++ b/compiler-rt/test/BlocksRuntime/block-static.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // testfilerunner CONFIG diff --git a/compiler-rt/test/BlocksRuntime/blockimport.c b/compiler-rt/test/BlocksRuntime/blockimport.c index 178fce4395e..1b860ef21bd 100644 --- a/compiler-rt/test/BlocksRuntime/blockimport.c +++ b/compiler-rt/test/BlocksRuntime/blockimport.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception /* * blockimport.c diff --git a/compiler-rt/test/BlocksRuntime/byrefaccess.c b/compiler-rt/test/BlocksRuntime/byrefaccess.c index 4565553338a..b03c6a8b542 100644 --- a/compiler-rt/test/BlocksRuntime/byrefaccess.c +++ b/compiler-rt/test/BlocksRuntime/byrefaccess.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // // byrefaccess.m diff --git a/compiler-rt/test/BlocksRuntime/byrefcopy.c b/compiler-rt/test/BlocksRuntime/byrefcopy.c index 513b63c2725..b1110c9968e 100644 --- a/compiler-rt/test/BlocksRuntime/byrefcopy.c +++ b/compiler-rt/test/BlocksRuntime/byrefcopy.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // // byrefcopy.m diff --git a/compiler-rt/test/BlocksRuntime/byrefcopycopy.c b/compiler-rt/test/BlocksRuntime/byrefcopycopy.c index d6fafc152e1..1c03f6ca8a9 100644 --- a/compiler-rt/test/BlocksRuntime/byrefcopycopy.c +++ b/compiler-rt/test/BlocksRuntime/byrefcopycopy.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // CONFIG rdar://6255170 diff --git a/compiler-rt/test/BlocksRuntime/byrefcopyinner.c b/compiler-rt/test/BlocksRuntime/byrefcopyinner.c index 07770933afe..004474750d6 100644 --- a/compiler-rt/test/BlocksRuntime/byrefcopyinner.c +++ b/compiler-rt/test/BlocksRuntime/byrefcopyinner.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include <Block.h> #include <stdio.h> diff --git a/compiler-rt/test/BlocksRuntime/byrefcopyint.c b/compiler-rt/test/BlocksRuntime/byrefcopyint.c index d632f88a0bc..b9148cb667e 100644 --- a/compiler-rt/test/BlocksRuntime/byrefcopyint.c +++ b/compiler-rt/test/BlocksRuntime/byrefcopyint.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception /* * byrefcopyint.c diff --git a/compiler-rt/test/BlocksRuntime/byrefcopystack.c b/compiler-rt/test/BlocksRuntime/byrefcopystack.c index d119afa3668..745bdf173eb 100644 --- a/compiler-rt/test/BlocksRuntime/byrefcopystack.c +++ b/compiler-rt/test/BlocksRuntime/byrefcopystack.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // // byrefcopystack.m diff --git a/compiler-rt/test/BlocksRuntime/byrefsanity.c b/compiler-rt/test/BlocksRuntime/byrefsanity.c index dfa16b0ddd6..a37fa2571d4 100644 --- a/compiler-rt/test/BlocksRuntime/byrefsanity.c +++ b/compiler-rt/test/BlocksRuntime/byrefsanity.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // CONFIG diff --git a/compiler-rt/test/BlocksRuntime/byrefstruct.c b/compiler-rt/test/BlocksRuntime/byrefstruct.c index a3dc44e2c36..d30207e2d63 100644 --- a/compiler-rt/test/BlocksRuntime/byrefstruct.c +++ b/compiler-rt/test/BlocksRuntime/byrefstruct.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // -*- mode:C; c-basic-offset:4; tab-width:4; intent-tabs-mode:nil; -*- // CONFIG diff --git a/compiler-rt/test/BlocksRuntime/c99.c b/compiler-rt/test/BlocksRuntime/c99.c index 8f31ab3fdfb..7370684bac1 100644 --- a/compiler-rt/test/BlocksRuntime/c99.c +++ b/compiler-rt/test/BlocksRuntime/c99.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // // c99.m diff --git a/compiler-rt/test/BlocksRuntime/cast.c b/compiler-rt/test/BlocksRuntime/cast.c index 5bef2c19def..09175a757eb 100644 --- a/compiler-rt/test/BlocksRuntime/cast.c +++ b/compiler-rt/test/BlocksRuntime/cast.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception /* * cast.c diff --git a/compiler-rt/test/BlocksRuntime/constassign.c b/compiler-rt/test/BlocksRuntime/constassign.c index 537cb2df059..932afce9bfc 100644 --- a/compiler-rt/test/BlocksRuntime/constassign.c +++ b/compiler-rt/test/BlocksRuntime/constassign.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // // constassign.c diff --git a/compiler-rt/test/BlocksRuntime/copy-block-literal-rdar6439600.c b/compiler-rt/test/BlocksRuntime/copy-block-literal-rdar6439600.c index 6fa488eee4f..9eebe7aa0bc 100644 --- a/compiler-rt/test/BlocksRuntime/copy-block-literal-rdar6439600.c +++ b/compiler-rt/test/BlocksRuntime/copy-block-literal-rdar6439600.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // CONFIG open rdar://6439600 diff --git a/compiler-rt/test/BlocksRuntime/copyconstructor.C b/compiler-rt/test/BlocksRuntime/copyconstructor.C index 626d33e80e8..c3917315d0e 100644 --- a/compiler-rt/test/BlocksRuntime/copyconstructor.C +++ b/compiler-rt/test/BlocksRuntime/copyconstructor.C @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include <stdio.h> #include <Block.h> diff --git a/compiler-rt/test/BlocksRuntime/copynull.c b/compiler-rt/test/BlocksRuntime/copynull.c index c49e499f3ab..478e300d4f0 100644 --- a/compiler-rt/test/BlocksRuntime/copynull.c +++ b/compiler-rt/test/BlocksRuntime/copynull.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception /* * copynull.c diff --git a/compiler-rt/test/BlocksRuntime/dispatch_async.c b/compiler-rt/test/BlocksRuntime/dispatch_async.c index e3e517c5465..a6f9c1f7500 100644 --- a/compiler-rt/test/BlocksRuntime/dispatch_async.c +++ b/compiler-rt/test/BlocksRuntime/dispatch_async.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include <CoreFoundation/CoreFoundation.h> diff --git a/compiler-rt/test/BlocksRuntime/dispatch_call_Block_with_release.c b/compiler-rt/test/BlocksRuntime/dispatch_call_Block_with_release.c index 9e06f69ba76..21e810f3cd9 100644 --- a/compiler-rt/test/BlocksRuntime/dispatch_call_Block_with_release.c +++ b/compiler-rt/test/BlocksRuntime/dispatch_call_Block_with_release.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include <stdio.h> #include <Block.h> diff --git a/compiler-rt/test/BlocksRuntime/fail.c b/compiler-rt/test/BlocksRuntime/fail.c index 28dbc2d1521..aec0cfcfa73 100644 --- a/compiler-rt/test/BlocksRuntime/fail.c +++ b/compiler-rt/test/BlocksRuntime/fail.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception /* * fail.c diff --git a/compiler-rt/test/BlocksRuntime/flagsisa.c b/compiler-rt/test/BlocksRuntime/flagsisa.c index 5d4b2dcb403..29148b27fbc 100644 --- a/compiler-rt/test/BlocksRuntime/flagsisa.c +++ b/compiler-rt/test/BlocksRuntime/flagsisa.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include <stdio.h> diff --git a/compiler-rt/test/BlocksRuntime/globalexpression.c b/compiler-rt/test/BlocksRuntime/globalexpression.c index eeedd75e707..759a9d29b6d 100644 --- a/compiler-rt/test/BlocksRuntime/globalexpression.c +++ b/compiler-rt/test/BlocksRuntime/globalexpression.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // testfilerunner CONFIG diff --git a/compiler-rt/test/BlocksRuntime/goto.c b/compiler-rt/test/BlocksRuntime/goto.c index 7e5b08adbe8..cdc40d966d4 100644 --- a/compiler-rt/test/BlocksRuntime/goto.c +++ b/compiler-rt/test/BlocksRuntime/goto.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception /* * goto.c diff --git a/compiler-rt/test/BlocksRuntime/hasdescriptor.c b/compiler-rt/test/BlocksRuntime/hasdescriptor.c index 429adb9bdb1..445b5f46221 100644 --- a/compiler-rt/test/BlocksRuntime/hasdescriptor.c +++ b/compiler-rt/test/BlocksRuntime/hasdescriptor.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception diff --git a/compiler-rt/test/BlocksRuntime/josh.C b/compiler-rt/test/BlocksRuntime/josh.C index dbc7369e8c3..8a1854c9e8a 100644 --- a/compiler-rt/test/BlocksRuntime/josh.C +++ b/compiler-rt/test/BlocksRuntime/josh.C @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // CONFIG C++ GC RR open rdar://6347910 diff --git a/compiler-rt/test/BlocksRuntime/k-and-r.c b/compiler-rt/test/BlocksRuntime/k-and-r.c index 16b9cc643b5..2661eece37f 100644 --- a/compiler-rt/test/BlocksRuntime/k-and-r.c +++ b/compiler-rt/test/BlocksRuntime/k-and-r.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // -*- mode:C; c-basic-offset:4; tab-width:4; intent-tabs-mode:nil; -*- // CONFIG error: incompatible block pointer types assigning diff --git a/compiler-rt/test/BlocksRuntime/large-struct.c b/compiler-rt/test/BlocksRuntime/large-struct.c index 1867bd02dfa..815dcfc8a94 100644 --- a/compiler-rt/test/BlocksRuntime/large-struct.c +++ b/compiler-rt/test/BlocksRuntime/large-struct.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // -*- mode:C; c-basic-offset:4; tab-width:4; intent-tabs-mode:nil; -*- // CONFIG diff --git a/compiler-rt/test/BlocksRuntime/localisglobal.c b/compiler-rt/test/BlocksRuntime/localisglobal.c index 75a79dff48e..c4e5628b532 100644 --- a/compiler-rt/test/BlocksRuntime/localisglobal.c +++ b/compiler-rt/test/BlocksRuntime/localisglobal.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception /* * localisglobal.c diff --git a/compiler-rt/test/BlocksRuntime/macro.c b/compiler-rt/test/BlocksRuntime/macro.c index 988c0689b8f..06732e752fd 100644 --- a/compiler-rt/test/BlocksRuntime/macro.c +++ b/compiler-rt/test/BlocksRuntime/macro.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // CONFIG open rdar://6718399 #include <Block.h> diff --git a/compiler-rt/test/BlocksRuntime/makefile b/compiler-rt/test/BlocksRuntime/makefile index 2734bcae35f..f40ca4d1ca4 100644 --- a/compiler-rt/test/BlocksRuntime/makefile +++ b/compiler-rt/test/BlocksRuntime/makefile @@ -1,8 +1,7 @@ # -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception CCDIR=/usr/bin #CCDIR=/Volumes/Keep/gcc/usr/bin diff --git a/compiler-rt/test/BlocksRuntime/modglobal.c b/compiler-rt/test/BlocksRuntime/modglobal.c index 562d5a5cc41..c76e8b6c7b7 100644 --- a/compiler-rt/test/BlocksRuntime/modglobal.c +++ b/compiler-rt/test/BlocksRuntime/modglobal.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include <stdio.h> // CONFIG diff --git a/compiler-rt/test/BlocksRuntime/nestedimport.c b/compiler-rt/test/BlocksRuntime/nestedimport.c index e8066922fbb..01dfa7e7dc5 100644 --- a/compiler-rt/test/BlocksRuntime/nestedimport.c +++ b/compiler-rt/test/BlocksRuntime/nestedimport.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // // nestedimport.m diff --git a/compiler-rt/test/BlocksRuntime/nullblockisa.c b/compiler-rt/test/BlocksRuntime/nullblockisa.c index ba0282e8208..5bf7240cb5e 100644 --- a/compiler-rt/test/BlocksRuntime/nullblockisa.c +++ b/compiler-rt/test/BlocksRuntime/nullblockisa.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // // nullblockisa.m diff --git a/compiler-rt/test/BlocksRuntime/objectRRGC.c b/compiler-rt/test/BlocksRuntime/objectRRGC.c index 2cefea2afd3..a9665c8e9e5 100644 --- a/compiler-rt/test/BlocksRuntime/objectRRGC.c +++ b/compiler-rt/test/BlocksRuntime/objectRRGC.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception /* * objectRRGC.c diff --git a/compiler-rt/test/BlocksRuntime/objectassign.c b/compiler-rt/test/BlocksRuntime/objectassign.c index 1c4f4841419..c9e5a3ff683 100644 --- a/compiler-rt/test/BlocksRuntime/objectassign.c +++ b/compiler-rt/test/BlocksRuntime/objectassign.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception /* * objectassign.c diff --git a/compiler-rt/test/BlocksRuntime/orbars.c b/compiler-rt/test/BlocksRuntime/orbars.c index 18a9244452f..e7c00183cca 100644 --- a/compiler-rt/test/BlocksRuntime/orbars.c +++ b/compiler-rt/test/BlocksRuntime/orbars.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception /* * orbars.c diff --git a/compiler-rt/test/BlocksRuntime/rdar6396238.c b/compiler-rt/test/BlocksRuntime/rdar6396238.c index 280415643a1..2ba0dbf4bd3 100644 --- a/compiler-rt/test/BlocksRuntime/rdar6396238.c +++ b/compiler-rt/test/BlocksRuntime/rdar6396238.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // CONFIG rdar://6396238 diff --git a/compiler-rt/test/BlocksRuntime/rdar6405500.c b/compiler-rt/test/BlocksRuntime/rdar6405500.c index 1ab4624bcfc..03fb43c6bb9 100644 --- a/compiler-rt/test/BlocksRuntime/rdar6405500.c +++ b/compiler-rt/test/BlocksRuntime/rdar6405500.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // CONFIG rdar://6405500 diff --git a/compiler-rt/test/BlocksRuntime/rdar6414583.c b/compiler-rt/test/BlocksRuntime/rdar6414583.c index 2ada04d3ddc..671179aa589 100644 --- a/compiler-rt/test/BlocksRuntime/rdar6414583.c +++ b/compiler-rt/test/BlocksRuntime/rdar6414583.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // CONFIG rdar://6414583 diff --git a/compiler-rt/test/BlocksRuntime/recursive-block.c b/compiler-rt/test/BlocksRuntime/recursive-block.c index 454ad48267d..a93ceb6a780 100644 --- a/compiler-rt/test/BlocksRuntime/recursive-block.c +++ b/compiler-rt/test/BlocksRuntime/recursive-block.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include <stdio.h> #include <Block.h> diff --git a/compiler-rt/test/BlocksRuntime/recursive-test.c b/compiler-rt/test/BlocksRuntime/recursive-test.c index f7991486312..473bdefbda5 100644 --- a/compiler-rt/test/BlocksRuntime/recursive-test.c +++ b/compiler-rt/test/BlocksRuntime/recursive-test.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // CONFIG open rdar://6416474 // was rdar://5847976 diff --git a/compiler-rt/test/BlocksRuntime/recursiveassign.c b/compiler-rt/test/BlocksRuntime/recursiveassign.c index f0070cbe5c9..df60704e0aa 100644 --- a/compiler-rt/test/BlocksRuntime/recursiveassign.c +++ b/compiler-rt/test/BlocksRuntime/recursiveassign.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception /* * recursiveassign.c diff --git a/compiler-rt/test/BlocksRuntime/reference.C b/compiler-rt/test/BlocksRuntime/reference.C index f86f11e86ce..dcddf3aa812 100644 --- a/compiler-rt/test/BlocksRuntime/reference.C +++ b/compiler-rt/test/BlocksRuntime/reference.C @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #import <Block.h> #import <stdio.h> diff --git a/compiler-rt/test/BlocksRuntime/rettypepromotion.c b/compiler-rt/test/BlocksRuntime/rettypepromotion.c index 597eafe8b85..1fc6b9c8bf4 100644 --- a/compiler-rt/test/BlocksRuntime/rettypepromotion.c +++ b/compiler-rt/test/BlocksRuntime/rettypepromotion.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception /* * rettypepromotion.c diff --git a/compiler-rt/test/BlocksRuntime/returnfunctionptr.c b/compiler-rt/test/BlocksRuntime/returnfunctionptr.c index 6c7df631f8d..c4e764e6214 100644 --- a/compiler-rt/test/BlocksRuntime/returnfunctionptr.c +++ b/compiler-rt/test/BlocksRuntime/returnfunctionptr.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // CONFIG rdar://6339747 but wasn't diff --git a/compiler-rt/test/BlocksRuntime/shorthandexpression.c b/compiler-rt/test/BlocksRuntime/shorthandexpression.c index bf4582072b4..5d9aac312be 100644 --- a/compiler-rt/test/BlocksRuntime/shorthandexpression.c +++ b/compiler-rt/test/BlocksRuntime/shorthandexpression.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception /* * shorthandexpression.c diff --git a/compiler-rt/test/BlocksRuntime/sizeof.c b/compiler-rt/test/BlocksRuntime/sizeof.c index 1f84fc16f38..2bd1f4862b6 100644 --- a/compiler-rt/test/BlocksRuntime/sizeof.c +++ b/compiler-rt/test/BlocksRuntime/sizeof.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception /* * sizeof.c diff --git a/compiler-rt/test/BlocksRuntime/small-struct.c b/compiler-rt/test/BlocksRuntime/small-struct.c index 434f3c179f7..618a1726c9b 100644 --- a/compiler-rt/test/BlocksRuntime/small-struct.c +++ b/compiler-rt/test/BlocksRuntime/small-struct.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // -*- mode:C; c-basic-offset:4; tab-width:4; intent-tabs-mode:nil; -*- // CONFIG diff --git a/compiler-rt/test/BlocksRuntime/structmember.c b/compiler-rt/test/BlocksRuntime/structmember.c index c451d3f348c..b47f83d4589 100644 --- a/compiler-rt/test/BlocksRuntime/structmember.c +++ b/compiler-rt/test/BlocksRuntime/structmember.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception /* * structmember.c diff --git a/compiler-rt/test/BlocksRuntime/testfilerunner.h b/compiler-rt/test/BlocksRuntime/testfilerunner.h index d4e54f02904..fd7113ae5d7 100644 --- a/compiler-rt/test/BlocksRuntime/testfilerunner.h +++ b/compiler-rt/test/BlocksRuntime/testfilerunner.h @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // // testfilerunner.h diff --git a/compiler-rt/test/BlocksRuntime/testfilerunner.m b/compiler-rt/test/BlocksRuntime/testfilerunner.m index 459adf889f6..c3a9004c5ca 100644 --- a/compiler-rt/test/BlocksRuntime/testfilerunner.m +++ b/compiler-rt/test/BlocksRuntime/testfilerunner.m @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // // testfilerunner.m diff --git a/compiler-rt/test/BlocksRuntime/varargs-bad-assign.c b/compiler-rt/test/BlocksRuntime/varargs-bad-assign.c index b978668b95c..85a12a919c2 100644 --- a/compiler-rt/test/BlocksRuntime/varargs-bad-assign.c +++ b/compiler-rt/test/BlocksRuntime/varargs-bad-assign.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // -*- mode:C; c-basic-offset:4; tab-width:4; intent-tabs-mode:nil; -*- // HACK ALERT: gcc and g++ give different errors, referencing the line number to ensure that it checks for the right error; MUST KEEP IN SYNC WITH THE TEST diff --git a/compiler-rt/test/BlocksRuntime/varargs.c b/compiler-rt/test/BlocksRuntime/varargs.c index 01affc76e68..a0f56a579df 100644 --- a/compiler-rt/test/BlocksRuntime/varargs.c +++ b/compiler-rt/test/BlocksRuntime/varargs.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // -*- mode:C; c-basic-offset:4; tab-width:4; intent-tabs-mode:nil; -*- // CONFIG diff --git a/compiler-rt/test/BlocksRuntime/variadic.c b/compiler-rt/test/BlocksRuntime/variadic.c index 1d80657e988..e2e273a7580 100644 --- a/compiler-rt/test/BlocksRuntime/variadic.c +++ b/compiler-rt/test/BlocksRuntime/variadic.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception /* * variadic.c diff --git a/compiler-rt/test/BlocksRuntime/voidarg.c b/compiler-rt/test/BlocksRuntime/voidarg.c index a8f034b47c1..92fba4f1a1c 100644 --- a/compiler-rt/test/BlocksRuntime/voidarg.c +++ b/compiler-rt/test/BlocksRuntime/voidarg.c @@ -1,8 +1,7 @@ // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception /* * voidarg.c diff --git a/compiler-rt/test/fuzzer/AFLDriverTest.cpp b/compiler-rt/test/fuzzer/AFLDriverTest.cpp index b949adc7de1..d2937d004d1 100644 --- a/compiler-rt/test/fuzzer/AFLDriverTest.cpp +++ b/compiler-rt/test/fuzzer/AFLDriverTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Contains dummy functions used to avoid dependency on AFL. #include <stdint.h> diff --git a/compiler-rt/test/fuzzer/AbsNegAndConstant64Test.cpp b/compiler-rt/test/fuzzer/AbsNegAndConstant64Test.cpp index 0ba80b61d03..c079b207034 100644 --- a/compiler-rt/test/fuzzer/AbsNegAndConstant64Test.cpp +++ b/compiler-rt/test/fuzzer/AbsNegAndConstant64Test.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // abs(x) < 0 and y == Const puzzle, 64-bit variant. #include <cstddef> diff --git a/compiler-rt/test/fuzzer/AbsNegAndConstantTest.cpp b/compiler-rt/test/fuzzer/AbsNegAndConstantTest.cpp index a3f53498001..a0eedc19ca4 100644 --- a/compiler-rt/test/fuzzer/AbsNegAndConstantTest.cpp +++ b/compiler-rt/test/fuzzer/AbsNegAndConstantTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // abs(x) < 0 and y == Const puzzle. #include <cstddef> diff --git a/compiler-rt/test/fuzzer/AccumulateAllocationsTest.cpp b/compiler-rt/test/fuzzer/AccumulateAllocationsTest.cpp index e9acd7ccbd3..91886fa1672 100644 --- a/compiler-rt/test/fuzzer/AccumulateAllocationsTest.cpp +++ b/compiler-rt/test/fuzzer/AccumulateAllocationsTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Test with a more mallocs than frees, but no leak. #include <cstddef> diff --git a/compiler-rt/test/fuzzer/AcquireCrashStateTest.cpp b/compiler-rt/test/fuzzer/AcquireCrashStateTest.cpp index 0fe71fd46bf..3035021ba04 100644 --- a/compiler-rt/test/fuzzer/AcquireCrashStateTest.cpp +++ b/compiler-rt/test/fuzzer/AcquireCrashStateTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Ensures that error reports are suppressed after // __sanitizer_acquire_crash_state() has been called the first time. diff --git a/compiler-rt/test/fuzzer/AlignmentAssumptionTest.cpp b/compiler-rt/test/fuzzer/AlignmentAssumptionTest.cpp index be51d37e8fe..58209f0beae 100644 --- a/compiler-rt/test/fuzzer/AlignmentAssumptionTest.cpp +++ b/compiler-rt/test/fuzzer/AlignmentAssumptionTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Test for alignment assumption failure. diff --git a/compiler-rt/test/fuzzer/BadStrcmpTest.cpp b/compiler-rt/test/fuzzer/BadStrcmpTest.cpp index ba2b068f741..4ab2b7094fc 100644 --- a/compiler-rt/test/fuzzer/BadStrcmpTest.cpp +++ b/compiler-rt/test/fuzzer/BadStrcmpTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Test that we don't creash in case of bad strcmp params. #include <cstddef> diff --git a/compiler-rt/test/fuzzer/BogusInitializeTest.cpp b/compiler-rt/test/fuzzer/BogusInitializeTest.cpp index c7e81a5478b..9252521688d 100644 --- a/compiler-rt/test/fuzzer/BogusInitializeTest.cpp +++ b/compiler-rt/test/fuzzer/BogusInitializeTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Make sure LLVMFuzzerInitialize does not change argv[0]. #include <stddef.h> diff --git a/compiler-rt/test/fuzzer/BufferOverflowOnInput.cpp b/compiler-rt/test/fuzzer/BufferOverflowOnInput.cpp index 159da92d4e9..6e53cd98fa3 100644 --- a/compiler-rt/test/fuzzer/BufferOverflowOnInput.cpp +++ b/compiler-rt/test/fuzzer/BufferOverflowOnInput.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer. The fuzzer must find the string "Hi!". #include <assert.h> diff --git a/compiler-rt/test/fuzzer/CallerCalleeTest.cpp b/compiler-rt/test/fuzzer/CallerCalleeTest.cpp index ed9f37cc152..4b38983f753 100644 --- a/compiler-rt/test/fuzzer/CallerCalleeTest.cpp +++ b/compiler-rt/test/fuzzer/CallerCalleeTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer. // Try to find the target using the indirect caller-callee pairs. diff --git a/compiler-rt/test/fuzzer/CleanseTest.cpp b/compiler-rt/test/fuzzer/CleanseTest.cpp index d4efa12bb20..2ff5ebfb32c 100644 --- a/compiler-rt/test/fuzzer/CleanseTest.cpp +++ b/compiler-rt/test/fuzzer/CleanseTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Test the fuzzer is able to 'cleanse' the reproducer // by replacing all irrelevant bytes with garbage. diff --git a/compiler-rt/test/fuzzer/CounterTest.cpp b/compiler-rt/test/fuzzer/CounterTest.cpp index 4917934c62e..84112f9e85b 100644 --- a/compiler-rt/test/fuzzer/CounterTest.cpp +++ b/compiler-rt/test/fuzzer/CounterTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Test for a fuzzer: must find the case where a particular basic block is // executed many times. diff --git a/compiler-rt/test/fuzzer/CustomCrossOverAndMutateTest.cpp b/compiler-rt/test/fuzzer/CustomCrossOverAndMutateTest.cpp index 74fc939534c..37f073b1075 100644 --- a/compiler-rt/test/fuzzer/CustomCrossOverAndMutateTest.cpp +++ b/compiler-rt/test/fuzzer/CustomCrossOverAndMutateTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Test that libFuzzer does not crash when LLVMFuzzerMutate called from // LLVMFuzzerCustomCrossOver. diff --git a/compiler-rt/test/fuzzer/CustomCrossOverTest.cpp b/compiler-rt/test/fuzzer/CustomCrossOverTest.cpp index bd9afe774d3..36062edd4db 100644 --- a/compiler-rt/test/fuzzer/CustomCrossOverTest.cpp +++ b/compiler-rt/test/fuzzer/CustomCrossOverTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a cutom crossover. #include <assert.h> diff --git a/compiler-rt/test/fuzzer/CustomMutatorTest.cpp b/compiler-rt/test/fuzzer/CustomMutatorTest.cpp index b2adb94082d..51b6169eb8d 100644 --- a/compiler-rt/test/fuzzer/CustomMutatorTest.cpp +++ b/compiler-rt/test/fuzzer/CustomMutatorTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a cutom mutator. #include <assert.h> diff --git a/compiler-rt/test/fuzzer/CxxStringEqTest.cpp b/compiler-rt/test/fuzzer/CxxStringEqTest.cpp index 924851c5ad5..b33f474f020 100644 --- a/compiler-rt/test/fuzzer/CxxStringEqTest.cpp +++ b/compiler-rt/test/fuzzer/CxxStringEqTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer. Must find a specific string // used in std::string operator ==. diff --git a/compiler-rt/test/fuzzer/DSO1.cpp b/compiler-rt/test/fuzzer/DSO1.cpp index 72a5ec4a0cd..c164bf6292e 100644 --- a/compiler-rt/test/fuzzer/DSO1.cpp +++ b/compiler-rt/test/fuzzer/DSO1.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Source code for a simple DSO. #ifdef _WIN32 diff --git a/compiler-rt/test/fuzzer/DSO2.cpp b/compiler-rt/test/fuzzer/DSO2.cpp index 2967055dc22..ed0ee43867e 100644 --- a/compiler-rt/test/fuzzer/DSO2.cpp +++ b/compiler-rt/test/fuzzer/DSO2.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Source code for a simple DSO. #ifdef _WIN32 diff --git a/compiler-rt/test/fuzzer/DSOTestExtra.cpp b/compiler-rt/test/fuzzer/DSOTestExtra.cpp index a2274d070eb..a0d156d7917 100644 --- a/compiler-rt/test/fuzzer/DSOTestExtra.cpp +++ b/compiler-rt/test/fuzzer/DSOTestExtra.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Source code for a simple DSO. diff --git a/compiler-rt/test/fuzzer/DSOTestMain.cpp b/compiler-rt/test/fuzzer/DSOTestMain.cpp index e0c857d4fde..b2a85a770d1 100644 --- a/compiler-rt/test/fuzzer/DSOTestMain.cpp +++ b/compiler-rt/test/fuzzer/DSOTestMain.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Source code for a simple DSO. diff --git a/compiler-rt/test/fuzzer/DeepRecursionTest.cpp b/compiler-rt/test/fuzzer/DeepRecursionTest.cpp index bf4621d0492..aaef38960fa 100644 --- a/compiler-rt/test/fuzzer/DeepRecursionTest.cpp +++ b/compiler-rt/test/fuzzer/DeepRecursionTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer. The fuzzer must find the deep recursion. // To generate a crashy input: diff --git a/compiler-rt/test/fuzzer/DivTest.cpp b/compiler-rt/test/fuzzer/DivTest.cpp index bce13feb790..5a6ae7622a1 100644 --- a/compiler-rt/test/fuzzer/DivTest.cpp +++ b/compiler-rt/test/fuzzer/DivTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer: find the interesting argument for div. #include <assert.h> diff --git a/compiler-rt/test/fuzzer/EmptyTest.cpp b/compiler-rt/test/fuzzer/EmptyTest.cpp index 5e843308fa5..4d690e83b48 100644 --- a/compiler-rt/test/fuzzer/EmptyTest.cpp +++ b/compiler-rt/test/fuzzer/EmptyTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // // A fuzzer with empty target function. diff --git a/compiler-rt/test/fuzzer/EquivalenceATest.cpp b/compiler-rt/test/fuzzer/EquivalenceATest.cpp index 7d1ebb0f6a4..32aa4a8122b 100644 --- a/compiler-rt/test/fuzzer/EquivalenceATest.cpp +++ b/compiler-rt/test/fuzzer/EquivalenceATest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include <stddef.h> #include <stdint.h> #include <stdio.h> diff --git a/compiler-rt/test/fuzzer/EquivalenceBTest.cpp b/compiler-rt/test/fuzzer/EquivalenceBTest.cpp index b1de208b57f..a4da7731668 100644 --- a/compiler-rt/test/fuzzer/EquivalenceBTest.cpp +++ b/compiler-rt/test/fuzzer/EquivalenceBTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include <stddef.h> #include <stdint.h> #include <stdio.h> diff --git a/compiler-rt/test/fuzzer/ExplodeDFSanLabelsTest.cpp b/compiler-rt/test/fuzzer/ExplodeDFSanLabelsTest.cpp index 0decff8ff08..4c1a57914c9 100644 --- a/compiler-rt/test/fuzzer/ExplodeDFSanLabelsTest.cpp +++ b/compiler-rt/test/fuzzer/ExplodeDFSanLabelsTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // When tracing data flow, explode the number of DFSan labels. #include <cstddef> diff --git a/compiler-rt/test/fuzzer/FlagsTest.cpp b/compiler-rt/test/fuzzer/FlagsTest.cpp index 6eeac177bd9..8acd2f99b35 100644 --- a/compiler-rt/test/fuzzer/FlagsTest.cpp +++ b/compiler-rt/test/fuzzer/FlagsTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Parse some flags #include <string> diff --git a/compiler-rt/test/fuzzer/FourIndependentBranchesTest.cpp b/compiler-rt/test/fuzzer/FourIndependentBranchesTest.cpp index bbf5ea235c7..712f942447a 100644 --- a/compiler-rt/test/fuzzer/FourIndependentBranchesTest.cpp +++ b/compiler-rt/test/fuzzer/FourIndependentBranchesTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer. The fuzzer must find the string "FUZZ". #include <cstddef> diff --git a/compiler-rt/test/fuzzer/FullCoverageSetTest.cpp b/compiler-rt/test/fuzzer/FullCoverageSetTest.cpp index 6d7e48fe51f..7409022fa5f 100644 --- a/compiler-rt/test/fuzzer/FullCoverageSetTest.cpp +++ b/compiler-rt/test/fuzzer/FullCoverageSetTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer. The fuzzer must find the string "FUZZER". #include <cstddef> diff --git a/compiler-rt/test/fuzzer/GcSectionsTest.cpp b/compiler-rt/test/fuzzer/GcSectionsTest.cpp index fd9da7735cd..730167c4516 100644 --- a/compiler-rt/test/fuzzer/GcSectionsTest.cpp +++ b/compiler-rt/test/fuzzer/GcSectionsTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer. // The unused function should not be present in the binary. diff --git a/compiler-rt/test/fuzzer/ImplicitIntegerSignChangeTest.cpp b/compiler-rt/test/fuzzer/ImplicitIntegerSignChangeTest.cpp index 0fd7df0e2d2..f925afd4da6 100644 --- a/compiler-rt/test/fuzzer/ImplicitIntegerSignChangeTest.cpp +++ b/compiler-rt/test/fuzzer/ImplicitIntegerSignChangeTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Test for implicit-integer-sign-change. #include <assert.h> diff --git a/compiler-rt/test/fuzzer/ImplicitSignedIntegerTruncationOrSignChangeTest.cpp b/compiler-rt/test/fuzzer/ImplicitSignedIntegerTruncationOrSignChangeTest.cpp index 6e65f5442dc..e365d599c93 100644 --- a/compiler-rt/test/fuzzer/ImplicitSignedIntegerTruncationOrSignChangeTest.cpp +++ b/compiler-rt/test/fuzzer/ImplicitSignedIntegerTruncationOrSignChangeTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Test for implicit-signed-integer-truncation-or-sign-change. #include <assert.h> diff --git a/compiler-rt/test/fuzzer/ImplicitSignedIntegerTruncationTest.cpp b/compiler-rt/test/fuzzer/ImplicitSignedIntegerTruncationTest.cpp index 9a17802e2a5..3e175a1de01 100644 --- a/compiler-rt/test/fuzzer/ImplicitSignedIntegerTruncationTest.cpp +++ b/compiler-rt/test/fuzzer/ImplicitSignedIntegerTruncationTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Test for signed-integer-overflow. #include <assert.h> diff --git a/compiler-rt/test/fuzzer/ImplicitUnsignedIntegerTruncationTest.cpp b/compiler-rt/test/fuzzer/ImplicitUnsignedIntegerTruncationTest.cpp index c0bf40ab08f..5c22a0a3a19 100644 --- a/compiler-rt/test/fuzzer/ImplicitUnsignedIntegerTruncationTest.cpp +++ b/compiler-rt/test/fuzzer/ImplicitUnsignedIntegerTruncationTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Test for unsigned-integer-overflow. #include <assert.h> diff --git a/compiler-rt/test/fuzzer/InitializeTest.cpp b/compiler-rt/test/fuzzer/InitializeTest.cpp index 5022c9efa64..f0299e1f61e 100644 --- a/compiler-rt/test/fuzzer/InitializeTest.cpp +++ b/compiler-rt/test/fuzzer/InitializeTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Make sure LLVMFuzzerInitialize is called. #include <assert.h> diff --git a/compiler-rt/test/fuzzer/LargeTest.cpp b/compiler-rt/test/fuzzer/LargeTest.cpp index 83ed6197180..59a1619c078 100644 --- a/compiler-rt/test/fuzzer/LargeTest.cpp +++ b/compiler-rt/test/fuzzer/LargeTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // A fuzz target with lots of edges. #include <cstdint> diff --git a/compiler-rt/test/fuzzer/LeakTest.cpp b/compiler-rt/test/fuzzer/LeakTest.cpp index f259e9d359f..b4f7e5dfc46 100644 --- a/compiler-rt/test/fuzzer/LeakTest.cpp +++ b/compiler-rt/test/fuzzer/LeakTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Test with a leak. #include <cstddef> diff --git a/compiler-rt/test/fuzzer/LeakTimeoutTest.cpp b/compiler-rt/test/fuzzer/LeakTimeoutTest.cpp index 92526194a50..a4c89ce7d1c 100644 --- a/compiler-rt/test/fuzzer/LeakTimeoutTest.cpp +++ b/compiler-rt/test/fuzzer/LeakTimeoutTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Test with a leak. #include <cstddef> diff --git a/compiler-rt/test/fuzzer/LoadTest.cpp b/compiler-rt/test/fuzzer/LoadTest.cpp index 67a28c7cb22..9cf101542cb 100644 --- a/compiler-rt/test/fuzzer/LoadTest.cpp +++ b/compiler-rt/test/fuzzer/LoadTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer: find interesting value of array index. #include <assert.h> diff --git a/compiler-rt/test/fuzzer/Memcmp64BytesTest.cpp b/compiler-rt/test/fuzzer/Memcmp64BytesTest.cpp index 5b6cb707173..e2c0db22b82 100644 --- a/compiler-rt/test/fuzzer/Memcmp64BytesTest.cpp +++ b/compiler-rt/test/fuzzer/Memcmp64BytesTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer. The fuzzer must find a particular string. #include <cassert> diff --git a/compiler-rt/test/fuzzer/MemcmpTest.cpp b/compiler-rt/test/fuzzer/MemcmpTest.cpp index 8dbb7d84fbb..060c5b9b11f 100644 --- a/compiler-rt/test/fuzzer/MemcmpTest.cpp +++ b/compiler-rt/test/fuzzer/MemcmpTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer. The fuzzer must find a particular string. #include <cstdint> diff --git a/compiler-rt/test/fuzzer/MultipleConstraintsOnSmallInputTest.cpp b/compiler-rt/test/fuzzer/MultipleConstraintsOnSmallInputTest.cpp index 8e24acbcf2d..ddc0a931cdf 100644 --- a/compiler-rt/test/fuzzer/MultipleConstraintsOnSmallInputTest.cpp +++ b/compiler-rt/test/fuzzer/MultipleConstraintsOnSmallInputTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // // echo -en 'Im_so_cute&pretty_:)' > crash // diff --git a/compiler-rt/test/fuzzer/NotinstrumentedTest.cpp b/compiler-rt/test/fuzzer/NotinstrumentedTest.cpp index 91418990b19..3d01247366e 100644 --- a/compiler-rt/test/fuzzer/NotinstrumentedTest.cpp +++ b/compiler-rt/test/fuzzer/NotinstrumentedTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // This test should not be instrumented. #include <cstddef> diff --git a/compiler-rt/test/fuzzer/NthRunCrashTest.cpp b/compiler-rt/test/fuzzer/NthRunCrashTest.cpp index 26cdc8f17ad..869b723399f 100644 --- a/compiler-rt/test/fuzzer/NthRunCrashTest.cpp +++ b/compiler-rt/test/fuzzer/NthRunCrashTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Crash on the N-th execution. #include <cstddef> diff --git a/compiler-rt/test/fuzzer/NullDerefOnEmptyTest.cpp b/compiler-rt/test/fuzzer/NullDerefOnEmptyTest.cpp index 459db51f8a3..d9c85348cb4 100644 --- a/compiler-rt/test/fuzzer/NullDerefOnEmptyTest.cpp +++ b/compiler-rt/test/fuzzer/NullDerefOnEmptyTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer. The fuzzer must find the empty string. #include <cstddef> diff --git a/compiler-rt/test/fuzzer/NullDerefTest.cpp b/compiler-rt/test/fuzzer/NullDerefTest.cpp index 48df0f54cfe..32a36614172 100644 --- a/compiler-rt/test/fuzzer/NullDerefTest.cpp +++ b/compiler-rt/test/fuzzer/NullDerefTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer. The fuzzer must find the string "Hi!". #include <cstddef> diff --git a/compiler-rt/test/fuzzer/OneHugeAllocTest.cpp b/compiler-rt/test/fuzzer/OneHugeAllocTest.cpp index 32a55787100..34c51f522d5 100644 --- a/compiler-rt/test/fuzzer/OneHugeAllocTest.cpp +++ b/compiler-rt/test/fuzzer/OneHugeAllocTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Tests OOM handling when there is a single large allocation. #include <assert.h> diff --git a/compiler-rt/test/fuzzer/OnlySomeBytesTest.cpp b/compiler-rt/test/fuzzer/OnlySomeBytesTest.cpp index 076cda06345..60de710e829 100644 --- a/compiler-rt/test/fuzzer/OnlySomeBytesTest.cpp +++ b/compiler-rt/test/fuzzer/OnlySomeBytesTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Find ABCxxFxUxZxxx... (2048+ bytes, 'x' is any byte) #include <assert.h> diff --git a/compiler-rt/test/fuzzer/OutOfMemorySingleLargeMallocTest.cpp b/compiler-rt/test/fuzzer/OutOfMemorySingleLargeMallocTest.cpp index a07795a08df..5a6b49ff159 100644 --- a/compiler-rt/test/fuzzer/OutOfMemorySingleLargeMallocTest.cpp +++ b/compiler-rt/test/fuzzer/OutOfMemorySingleLargeMallocTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Tests OOM handling. #include <assert.h> diff --git a/compiler-rt/test/fuzzer/OutOfMemoryTest.cpp b/compiler-rt/test/fuzzer/OutOfMemoryTest.cpp index 5e59bde0985..ae8e6ee3b8a 100644 --- a/compiler-rt/test/fuzzer/OutOfMemoryTest.cpp +++ b/compiler-rt/test/fuzzer/OutOfMemoryTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Tests OOM handling. #include <assert.h> diff --git a/compiler-rt/test/fuzzer/OverwriteInputTest.cpp b/compiler-rt/test/fuzzer/OverwriteInputTest.cpp index e688682346a..b5f40a7e84f 100644 --- a/compiler-rt/test/fuzzer/OverwriteInputTest.cpp +++ b/compiler-rt/test/fuzzer/OverwriteInputTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer. Make sure we abort if Data is overwritten. #include <cstdint> diff --git a/compiler-rt/test/fuzzer/PrintFuncTest.cpp b/compiler-rt/test/fuzzer/PrintFuncTest.cpp index d41b4623924..1520e82b936 100644 --- a/compiler-rt/test/fuzzer/PrintFuncTest.cpp +++ b/compiler-rt/test/fuzzer/PrintFuncTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer. The fuzzer must find the string "Hi!". #include <cstddef> diff --git a/compiler-rt/test/fuzzer/ReadBinaryTest.cpp b/compiler-rt/test/fuzzer/ReadBinaryTest.cpp index de7a4003698..b4c2a4b8a40 100644 --- a/compiler-rt/test/fuzzer/ReadBinaryTest.cpp +++ b/compiler-rt/test/fuzzer/ReadBinaryTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer. Tests that fuzzer can read a file containing // carriage returns. diff --git a/compiler-rt/test/fuzzer/RepeatedBytesTest.cpp b/compiler-rt/test/fuzzer/RepeatedBytesTest.cpp index 31868cf8c54..1ed822a3de5 100644 --- a/compiler-rt/test/fuzzer/RepeatedBytesTest.cpp +++ b/compiler-rt/test/fuzzer/RepeatedBytesTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer. The fuzzer must find repeated bytes. #include <assert.h> diff --git a/compiler-rt/test/fuzzer/RepeatedMemcmp.cpp b/compiler-rt/test/fuzzer/RepeatedMemcmp.cpp index 18369deac3b..0363adf39ef 100644 --- a/compiler-rt/test/fuzzer/RepeatedMemcmp.cpp +++ b/compiler-rt/test/fuzzer/RepeatedMemcmp.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include <cstdint> #include <cstdio> diff --git a/compiler-rt/test/fuzzer/ShrinkControlFlowSimpleTest.cpp b/compiler-rt/test/fuzzer/ShrinkControlFlowSimpleTest.cpp index 0afd26df23a..d63905ae9b1 100644 --- a/compiler-rt/test/fuzzer/ShrinkControlFlowSimpleTest.cpp +++ b/compiler-rt/test/fuzzer/ShrinkControlFlowSimpleTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Test that we can find the minimal item in the corpus (3 bytes: "FUZ"). #include <cstddef> diff --git a/compiler-rt/test/fuzzer/ShrinkControlFlowTest.cpp b/compiler-rt/test/fuzzer/ShrinkControlFlowTest.cpp index 1957c1f90fc..886bc066b92 100644 --- a/compiler-rt/test/fuzzer/ShrinkControlFlowTest.cpp +++ b/compiler-rt/test/fuzzer/ShrinkControlFlowTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Test that we can find the minimal item in the corpus (3 bytes: "FUZ"). #include <cstddef> diff --git a/compiler-rt/test/fuzzer/ShrinkValueProfileTest.cpp b/compiler-rt/test/fuzzer/ShrinkValueProfileTest.cpp index dddf493da69..4d4c0b59960 100644 --- a/compiler-rt/test/fuzzer/ShrinkValueProfileTest.cpp +++ b/compiler-rt/test/fuzzer/ShrinkValueProfileTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Test that we can find the minimal item in the corpus (4 bytes: "FUZZ"). #include <cstddef> diff --git a/compiler-rt/test/fuzzer/SignedIntOverflowTest.cpp b/compiler-rt/test/fuzzer/SignedIntOverflowTest.cpp index d80060207de..5283304ea68 100644 --- a/compiler-rt/test/fuzzer/SignedIntOverflowTest.cpp +++ b/compiler-rt/test/fuzzer/SignedIntOverflowTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Test for signed-integer-overflow. #include <assert.h> diff --git a/compiler-rt/test/fuzzer/SimpleCmpTest.cpp b/compiler-rt/test/fuzzer/SimpleCmpTest.cpp index 3bb28c17318..5768493d8ef 100644 --- a/compiler-rt/test/fuzzer/SimpleCmpTest.cpp +++ b/compiler-rt/test/fuzzer/SimpleCmpTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer. The fuzzer must find several narrow ranges. #include <cstdint> diff --git a/compiler-rt/test/fuzzer/SimpleDictionaryTest.cpp b/compiler-rt/test/fuzzer/SimpleDictionaryTest.cpp index ffa2e4137bd..72b2440d421 100644 --- a/compiler-rt/test/fuzzer/SimpleDictionaryTest.cpp +++ b/compiler-rt/test/fuzzer/SimpleDictionaryTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer. // The fuzzer must find a string based on dictionary words: diff --git a/compiler-rt/test/fuzzer/SimpleHashTest.cpp b/compiler-rt/test/fuzzer/SimpleHashTest.cpp index 99e96cb25dc..6ca8ac6998a 100644 --- a/compiler-rt/test/fuzzer/SimpleHashTest.cpp +++ b/compiler-rt/test/fuzzer/SimpleHashTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // This test computes a checksum of the data (all but the last 4 bytes), // and then compares the last 4 bytes with the computed value. diff --git a/compiler-rt/test/fuzzer/SimpleTest.cpp b/compiler-rt/test/fuzzer/SimpleTest.cpp index 3882a842b88..c51227ba2a4 100644 --- a/compiler-rt/test/fuzzer/SimpleTest.cpp +++ b/compiler-rt/test/fuzzer/SimpleTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer. The fuzzer must find the string "Hi!". #include <assert.h> diff --git a/compiler-rt/test/fuzzer/SimpleTestStdio.cpp b/compiler-rt/test/fuzzer/SimpleTestStdio.cpp index ed7fe1cb3f6..36387b362f1 100644 --- a/compiler-rt/test/fuzzer/SimpleTestStdio.cpp +++ b/compiler-rt/test/fuzzer/SimpleTestStdio.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer. The fuzzer must find the string "Hi!". #include <assert.h> diff --git a/compiler-rt/test/fuzzer/SimpleThreadedTest.cpp b/compiler-rt/test/fuzzer/SimpleThreadedTest.cpp index deeae756a82..8f4cf6a9a14 100644 --- a/compiler-rt/test/fuzzer/SimpleThreadedTest.cpp +++ b/compiler-rt/test/fuzzer/SimpleThreadedTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Threaded test for a fuzzer. The fuzzer should find "H" #include <assert.h> diff --git a/compiler-rt/test/fuzzer/SingleByteInputTest.cpp b/compiler-rt/test/fuzzer/SingleByteInputTest.cpp index 72b58ba912e..5244653fcac 100644 --- a/compiler-rt/test/fuzzer/SingleByteInputTest.cpp +++ b/compiler-rt/test/fuzzer/SingleByteInputTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer, need just one byte to crash. #include <cstddef> diff --git a/compiler-rt/test/fuzzer/SingleMemcmpTest.cpp b/compiler-rt/test/fuzzer/SingleMemcmpTest.cpp index 19781ba4cd7..ef0a89b806d 100644 --- a/compiler-rt/test/fuzzer/SingleMemcmpTest.cpp +++ b/compiler-rt/test/fuzzer/SingleMemcmpTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer. The fuzzer must find a particular string. #include <cstdint> diff --git a/compiler-rt/test/fuzzer/SingleStrcmpTest.cpp b/compiler-rt/test/fuzzer/SingleStrcmpTest.cpp index 149073444c9..46521ab97d0 100644 --- a/compiler-rt/test/fuzzer/SingleStrcmpTest.cpp +++ b/compiler-rt/test/fuzzer/SingleStrcmpTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer. The fuzzer must find a particular string. #include <cstdint> diff --git a/compiler-rt/test/fuzzer/SingleStrncmpTest.cpp b/compiler-rt/test/fuzzer/SingleStrncmpTest.cpp index 47298763f28..46f1f3e0d99 100644 --- a/compiler-rt/test/fuzzer/SingleStrncmpTest.cpp +++ b/compiler-rt/test/fuzzer/SingleStrncmpTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer. The fuzzer must find a particular string. #include <cstdint> diff --git a/compiler-rt/test/fuzzer/SleepOneSecondTest.cpp b/compiler-rt/test/fuzzer/SleepOneSecondTest.cpp index 27de2f4f700..b91c4b755e2 100644 --- a/compiler-rt/test/fuzzer/SleepOneSecondTest.cpp +++ b/compiler-rt/test/fuzzer/SleepOneSecondTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer: it simply sleeps for 1 second. #include <cstddef> diff --git a/compiler-rt/test/fuzzer/SpamyTest.cpp b/compiler-rt/test/fuzzer/SpamyTest.cpp index 721134e1841..f0f0d4c74bc 100644 --- a/compiler-rt/test/fuzzer/SpamyTest.cpp +++ b/compiler-rt/test/fuzzer/SpamyTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // The test spams to stderr and stdout. #include <assert.h> diff --git a/compiler-rt/test/fuzzer/StrcmpTest.cpp b/compiler-rt/test/fuzzer/StrcmpTest.cpp index 81f041d913e..12cafae6635 100644 --- a/compiler-rt/test/fuzzer/StrcmpTest.cpp +++ b/compiler-rt/test/fuzzer/StrcmpTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Break through a series of strcmp. #include <cassert> diff --git a/compiler-rt/test/fuzzer/StrncmpOOBTest.cpp b/compiler-rt/test/fuzzer/StrncmpOOBTest.cpp index 4ed71d9d021..92b4868ce0a 100644 --- a/compiler-rt/test/fuzzer/StrncmpOOBTest.cpp +++ b/compiler-rt/test/fuzzer/StrncmpOOBTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Test that libFuzzer itself does not read out of bounds. #include <assert.h> diff --git a/compiler-rt/test/fuzzer/StrncmpTest.cpp b/compiler-rt/test/fuzzer/StrncmpTest.cpp index a40e05690a0..6f2f46ddab0 100644 --- a/compiler-rt/test/fuzzer/StrncmpTest.cpp +++ b/compiler-rt/test/fuzzer/StrncmpTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer. The fuzzer must find a particular string. #include <cstdint> diff --git a/compiler-rt/test/fuzzer/StrstrTest.cpp b/compiler-rt/test/fuzzer/StrstrTest.cpp index a3ea4e03b3d..29d20275896 100644 --- a/compiler-rt/test/fuzzer/StrstrTest.cpp +++ b/compiler-rt/test/fuzzer/StrstrTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Test strstr and strcasestr hooks. #include <cstdint> diff --git a/compiler-rt/test/fuzzer/SwapCmpTest.cpp b/compiler-rt/test/fuzzer/SwapCmpTest.cpp index 5aa47beb22b..d4c2cd23927 100644 --- a/compiler-rt/test/fuzzer/SwapCmpTest.cpp +++ b/compiler-rt/test/fuzzer/SwapCmpTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // The fuzzer must find several constants with swapped bytes. #include <cstdint> diff --git a/compiler-rt/test/fuzzer/Switch2Test.cpp b/compiler-rt/test/fuzzer/Switch2Test.cpp index 5f66ac8b499..5d85bd47051 100644 --- a/compiler-rt/test/fuzzer/Switch2Test.cpp +++ b/compiler-rt/test/fuzzer/Switch2Test.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer. The fuzzer must find the interesting switch value. #include <cstddef> diff --git a/compiler-rt/test/fuzzer/SwitchTest.cpp b/compiler-rt/test/fuzzer/SwitchTest.cpp index 86944cad21c..15b70ed906c 100644 --- a/compiler-rt/test/fuzzer/SwitchTest.cpp +++ b/compiler-rt/test/fuzzer/SwitchTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer. The fuzzer must find the interesting switch value. #include <cstddef> diff --git a/compiler-rt/test/fuzzer/SymbolizeDeadlock.cpp b/compiler-rt/test/fuzzer/SymbolizeDeadlock.cpp index b9ece38b230..a6e3f188107 100644 --- a/compiler-rt/test/fuzzer/SymbolizeDeadlock.cpp +++ b/compiler-rt/test/fuzzer/SymbolizeDeadlock.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Tests that deadlocks do not occur when an OOM occurs during symbolization. diff --git a/compiler-rt/test/fuzzer/TableLookupTest.cpp b/compiler-rt/test/fuzzer/TableLookupTest.cpp index 4d8ab0611cd..2b405230332 100644 --- a/compiler-rt/test/fuzzer/TableLookupTest.cpp +++ b/compiler-rt/test/fuzzer/TableLookupTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Make sure the fuzzer eventually finds all possible values of a variable // within a range. diff --git a/compiler-rt/test/fuzzer/ThreadedLeakTest.cpp b/compiler-rt/test/fuzzer/ThreadedLeakTest.cpp index 59f3671fe9d..cbc9ad53d10 100644 --- a/compiler-rt/test/fuzzer/ThreadedLeakTest.cpp +++ b/compiler-rt/test/fuzzer/ThreadedLeakTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // The fuzzer should find a leak in a non-main thread. #include <cstddef> diff --git a/compiler-rt/test/fuzzer/ThreadedTest.cpp b/compiler-rt/test/fuzzer/ThreadedTest.cpp index bb51ba764eb..716eace4bc9 100644 --- a/compiler-rt/test/fuzzer/ThreadedTest.cpp +++ b/compiler-rt/test/fuzzer/ThreadedTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Threaded test for a fuzzer. The fuzzer should not crash. #include <assert.h> diff --git a/compiler-rt/test/fuzzer/ThreeBytes.cpp b/compiler-rt/test/fuzzer/ThreeBytes.cpp index 754a5b0b56a..cdedd9c1803 100644 --- a/compiler-rt/test/fuzzer/ThreeBytes.cpp +++ b/compiler-rt/test/fuzzer/ThreeBytes.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Find FUZ #include <cstddef> diff --git a/compiler-rt/test/fuzzer/ThreeFunctionsTest.cpp b/compiler-rt/test/fuzzer/ThreeFunctionsTest.cpp index 1278cb05633..64583e95a84 100644 --- a/compiler-rt/test/fuzzer/ThreeFunctionsTest.cpp +++ b/compiler-rt/test/fuzzer/ThreeFunctionsTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Find "FUZZME", the target has 3 different functions. #include <assert.h> diff --git a/compiler-rt/test/fuzzer/TimeoutEmptyTest.cpp b/compiler-rt/test/fuzzer/TimeoutEmptyTest.cpp index 1ddf1fa3458..f82cfda4a9f 100644 --- a/compiler-rt/test/fuzzer/TimeoutEmptyTest.cpp +++ b/compiler-rt/test/fuzzer/TimeoutEmptyTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer. The fuzzer must find the empty string. #include <cstddef> diff --git a/compiler-rt/test/fuzzer/TimeoutTest.cpp b/compiler-rt/test/fuzzer/TimeoutTest.cpp index e3cdba3eec3..e4526c0920f 100644 --- a/compiler-rt/test/fuzzer/TimeoutTest.cpp +++ b/compiler-rt/test/fuzzer/TimeoutTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer. The fuzzer must find the string "Hi!". #include <cstddef> diff --git a/compiler-rt/test/fuzzer/TraceMallocTest.cpp b/compiler-rt/test/fuzzer/TraceMallocTest.cpp index af9975603aa..5a7dfe9d38d 100644 --- a/compiler-rt/test/fuzzer/TraceMallocTest.cpp +++ b/compiler-rt/test/fuzzer/TraceMallocTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Tests -trace_malloc #include <assert.h> diff --git a/compiler-rt/test/fuzzer/TraceMallocThreadedTest.cpp b/compiler-rt/test/fuzzer/TraceMallocThreadedTest.cpp index 0183d939af5..6b8bb7c2efc 100644 --- a/compiler-rt/test/fuzzer/TraceMallocThreadedTest.cpp +++ b/compiler-rt/test/fuzzer/TraceMallocThreadedTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Check that allocation tracing from different threads does not cause // interleaving of stack traces. diff --git a/compiler-rt/test/fuzzer/TwoDifferentBugsTest.cpp b/compiler-rt/test/fuzzer/TwoDifferentBugsTest.cpp index 77d2cb1a25f..18649b72e14 100644 --- a/compiler-rt/test/fuzzer/TwoDifferentBugsTest.cpp +++ b/compiler-rt/test/fuzzer/TwoDifferentBugsTest.cpp @@ -1,5 +1,6 @@ -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Simple test for a fuzzer. This test may trigger two different bugs. #include <cstddef> |