From a9e91f30eea39e57e4d9cd0067f6a5f10a64c2eb Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Tue, 19 Jan 2016 21:58:49 +0000 Subject: [PATCH] Add more missing license headers git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@258198 91177308-0d34-0410-b5e6-96231b3b80d8 --- src/include/atomic_support.h | 9 +++++++++ utils/gen_link_script/gen_link_script.py | 9 +++++++++ utils/not/not.py | 9 +++++++++ utils/sym_check/sym_check/__init__.py | 9 +++++++++ utils/sym_check/sym_check/diff.py | 8 ++++++++ utils/sym_check/sym_check/extract.py | 8 ++++++++ utils/sym_check/sym_check/match.py | 8 ++++++++ utils/sym_check/sym_check/util.py | 9 +++++++++ utils/sym_check/sym_diff.py | 9 +++++++++ utils/sym_check/sym_extract.py | 8 ++++++++ utils/sym_check/sym_match.py | 9 +++++++++ 11 files changed, 95 insertions(+) diff --git a/src/include/atomic_support.h b/src/include/atomic_support.h index dbf3b9c81..8b719c5f2 100644 --- a/src/include/atomic_support.h +++ b/src/include/atomic_support.h @@ -1,3 +1,12 @@ +//===----------------------------------------------------------------------===//// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===//// + #ifndef ATOMIC_SUPPORT_H #define ATOMIC_SUPPORT_H diff --git a/utils/gen_link_script/gen_link_script.py b/utils/gen_link_script/gen_link_script.py index 5de18f912..9f1f0b771 100755 --- a/utils/gen_link_script/gen_link_script.py +++ b/utils/gen_link_script/gen_link_script.py @@ -1,4 +1,13 @@ #!/usr/bin/env python +#===----------------------------------------------------------------------===## +# +# The LLVM Compiler Infrastructure +# +# This file is dual licensed under the MIT and the University of Illinois Open +# Source Licenses. See LICENSE.TXT for details. +# +#===----------------------------------------------------------------------===## + import os import sys diff --git a/utils/not/not.py b/utils/not/not.py index 96e4ea7ee..d9ceb8515 100644 --- a/utils/not/not.py +++ b/utils/not/not.py @@ -1,3 +1,12 @@ +#===----------------------------------------------------------------------===## +# +# The LLVM Compiler Infrastructure +# +# This file is dual licensed under the MIT and the University of Illinois Open +# Source Licenses. See LICENSE.TXT for details. +# +#===----------------------------------------------------------------------===## + """not.py is a utility for inverting the return code of commands. It acts similar to llvm/utils/not. ex: python /path/to/not.py ' echo hello diff --git a/utils/sym_check/sym_check/__init__.py b/utils/sym_check/sym_check/__init__.py index 3c668036e..1aa2b450c 100644 --- a/utils/sym_check/sym_check/__init__.py +++ b/utils/sym_check/sym_check/__init__.py @@ -1,3 +1,12 @@ +#===----------------------------------------------------------------------===## +# +# The LLVM Compiler Infrastructure +# +# This file is dual licensed under the MIT and the University of Illinois Open +# Source Licenses. See LICENSE.TXT for details. +# +#===----------------------------------------------------------------------===## + """libcxx abi symbol checker""" __author__ = 'Eric Fiselier' diff --git a/utils/sym_check/sym_check/diff.py b/utils/sym_check/sym_check/diff.py index a16e54d34..6502a4819 100644 --- a/utils/sym_check/sym_check/diff.py +++ b/utils/sym_check/sym_check/diff.py @@ -1,4 +1,12 @@ # -*- Python -*- vim: set syntax=python tabstop=4 expandtab cc=80: +#===----------------------------------------------------------------------===## +# +# The LLVM Compiler Infrastructure +# +# This file is dual licensed under the MIT and the University of Illinois Open +# Source Licenses. See LICENSE.TXT for details. +# +#===----------------------------------------------------------------------===## """ diff - A set of functions for diff-ing two symbol lists. """ diff --git a/utils/sym_check/sym_check/extract.py b/utils/sym_check/sym_check/extract.py index b4f4cee2d..7bafd8ec4 100644 --- a/utils/sym_check/sym_check/extract.py +++ b/utils/sym_check/sym_check/extract.py @@ -1,4 +1,12 @@ # -*- Python -*- vim: set syntax=python tabstop=4 expandtab cc=80: +#===----------------------------------------------------------------------===## +# +# The LLVM Compiler Infrastructure +# +# This file is dual licensed under the MIT and the University of Illinois Open +# Source Licenses. See LICENSE.TXT for details. +# +#===----------------------------------------------------------------------===## """ extract - A set of function that extract symbol lists from shared libraries. """ diff --git a/utils/sym_check/sym_check/match.py b/utils/sym_check/sym_check/match.py index 9f496427e..fae400e4e 100644 --- a/utils/sym_check/sym_check/match.py +++ b/utils/sym_check/sym_check/match.py @@ -1,4 +1,12 @@ # -*- Python -*- vim: set syntax=python tabstop=4 expandtab cc=80: +#===----------------------------------------------------------------------===## +# +# The LLVM Compiler Infrastructure +# +# This file is dual licensed under the MIT and the University of Illinois Open +# Source Licenses. See LICENSE.TXT for details. +# +#===----------------------------------------------------------------------===## """ match - A set of functions for matching symbols in a list to a list of regexs """ diff --git a/utils/sym_check/sym_check/util.py b/utils/sym_check/sym_check/util.py index 1d3b424f6..6ae71b010 100644 --- a/utils/sym_check/sym_check/util.py +++ b/utils/sym_check/sym_check/util.py @@ -1,3 +1,12 @@ +#===----------------------------------------------------------------------===## +# +# The LLVM Compiler Infrastructure +# +# This file is dual licensed under the MIT and the University of Illinois Open +# Source Licenses. See LICENSE.TXT for details. +# +#===----------------------------------------------------------------------===## + import ast import distutils.spawn import signal diff --git a/utils/sym_check/sym_diff.py b/utils/sym_check/sym_diff.py index 054c6c18e..69c340028 100755 --- a/utils/sym_check/sym_diff.py +++ b/utils/sym_check/sym_diff.py @@ -1,7 +1,16 @@ #!/usr/bin/env python +#===----------------------------------------------------------------------===## +# +# The LLVM Compiler Infrastructure +# +# This file is dual licensed under the MIT and the University of Illinois Open +# Source Licenses. See LICENSE.TXT for details. +# +#===----------------------------------------------------------------------===## """ sym_diff - Compare two symbol lists and output the differences. """ + from argparse import ArgumentParser import sys from sym_check import diff, util diff --git a/utils/sym_check/sym_extract.py b/utils/sym_check/sym_extract.py index 5d8953986..a0fbb3e63 100755 --- a/utils/sym_check/sym_extract.py +++ b/utils/sym_check/sym_extract.py @@ -1,4 +1,12 @@ #!/usr/bin/env python +#===----------------------------------------------------------------------===## +# +# The LLVM Compiler Infrastructure +# +# This file is dual licensed under the MIT and the University of Illinois Open +# Source Licenses. See LICENSE.TXT for details. +# +#===----------------------------------------------------------------------===## """ sym_extract - Extract and output a list of symbols from a shared library. """ diff --git a/utils/sym_check/sym_match.py b/utils/sym_check/sym_match.py index c60b24629..231bdc8b3 100755 --- a/utils/sym_check/sym_match.py +++ b/utils/sym_check/sym_match.py @@ -1,4 +1,13 @@ #!/usr/bin/env python +#===----------------------------------------------------------------------===## +# +# The LLVM Compiler Infrastructure +# +# This file is dual licensed under the MIT and the University of Illinois Open +# Source Licenses. See LICENSE.TXT for details. +# +#===----------------------------------------------------------------------===## + """ sym_match - Match all symbols in a list against a list of regexes. """