diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2016-01-22 21:18:04 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2016-01-22 21:18:04 +0000 |
commit | e0b666adaf915eaff59507f0fdcc4a120f68ce40 (patch) | |
tree | 427694574809fd86191343f574cd2e23bbe1f4a6 | |
parent | dfd66a522f6e3ab9b03c0921ba40f012de0958b0 (diff) |
Notes
28 files changed, 244 insertions, 1 deletions
diff --git a/src/include/atomic_support.h b/src/include/atomic_support.h index dbf3b9c81ea4b..8b719c5f22148 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/test/libcxx/compiler.py b/test/libcxx/compiler.py index 4962038cbbed3..7dfb13abbd41e 100644 --- a/test/libcxx/compiler.py +++ b/test/libcxx/compiler.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 os import lit.util import libcxx.util diff --git a/test/libcxx/test/config.py b/test/libcxx/test/config.py index 5ab7fcb37401d..f8096ad15f8a0 100644 --- a/test/libcxx/test/config.py +++ b/test/libcxx/test/config.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 locale import os import platform @@ -606,7 +615,7 @@ class Configuration(object): for k, v in self.env.items(): exec_env_str += ' %s=%s' % (k, v) # Configure run env substitution. - exec_str = '' + exec_str = exec_env_str if self.lit_config.useValgrind: exec_str = ' '.join(self.lit_config.valgrindArgs) + exec_env_str sub.append(('%exec', exec_str)) diff --git a/test/libcxx/test/executor.py b/test/libcxx/test/executor.py index f0356ceca784b..ee4288fb00832 100644 --- a/test/libcxx/test/executor.py +++ b/test/libcxx/test/executor.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 os from libcxx.test import tracing diff --git a/test/libcxx/test/format.py b/test/libcxx/test/format.py index 19c9fc742a497..ca934a4b395fa 100644 --- a/test/libcxx/test/format.py +++ b/test/libcxx/test/format.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 errno import os import time diff --git a/test/libcxx/test/target_info.py b/test/libcxx/test/target_info.py index df216fcb21fa6..7ca08bea193af 100644 --- a/test/libcxx/test/target_info.py +++ b/test/libcxx/test/target_info.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 importlib import lit.util # pylint: disable=import-error,no-name-in-module import locale diff --git a/test/libcxx/test/tracing.py b/test/libcxx/test/tracing.py index 766fc192f9f56..c590ba3efd014 100644 --- a/test/libcxx/test/tracing.py +++ b/test/libcxx/test/tracing.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 os import inspect diff --git a/test/libcxx/util.py b/test/libcxx/util.py index 28f2619d69cb3..8899ffaa4b265 100644 --- a/test/libcxx/util.py +++ b/test/libcxx/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. +# +#===----------------------------------------------------------------------===## + from contextlib import contextmanager import os import tempfile diff --git a/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_helpers.h b/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_helpers.h index e31420b156c63..6cbc0c35c0f5b 100644 --- a/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_helpers.h +++ b/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_helpers.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_HELPERS_H #define ATOMIC_HELPERS_H diff --git a/test/std/utilities/function.objects/func.require/invoke_helpers.h b/test/std/utilities/function.objects/func.require/invoke_helpers.h index 0583b624da314..a85b39f371758 100644 --- a/test/std/utilities/function.objects/func.require/invoke_helpers.h +++ b/test/std/utilities/function.objects/func.require/invoke_helpers.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 INVOKE_HELPERS_H #define INVOKE_HELPERS_H diff --git a/test/std/utilities/function.objects/func.wrap/func.wrap.func/function_types.h b/test/std/utilities/function.objects/func.wrap/func.wrap.func/function_types.h index 55eb80f43ffe3..f1526544bcfe9 100644 --- a/test/std/utilities/function.objects/func.wrap/func.wrap.func/function_types.h +++ b/test/std/utilities/function.objects/func.wrap/func.wrap.func/function_types.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 FUNCTION_TYPES_H #define FUNCTION_TYPES_H diff --git a/test/support/any_helpers.h b/test/support/any_helpers.h index 76b1922fb1f18..bb1ad175c1f2d 100644 --- a/test/support/any_helpers.h +++ b/test/support/any_helpers.h @@ -1,3 +1,11 @@ +//===----------------------------------------------------------------------===// +// +// 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 ANY_HELPERS_H #define ANY_HELPERS_H diff --git a/test/support/cmpxchg_loop.h b/test/support/cmpxchg_loop.h index c39e3fb12f676..5bec51b63321e 100644 --- a/test/support/cmpxchg_loop.h +++ b/test/support/cmpxchg_loop.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. +// +//===----------------------------------------------------------------------===// + #include <atomic> template <class A, class T> diff --git a/test/support/count_new.hpp b/test/support/count_new.hpp index 57aca7def3352..e8968a93de980 100644 --- a/test/support/count_new.hpp +++ b/test/support/count_new.hpp @@ -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 COUNT_NEW_HPP #define COUNT_NEW_HPP diff --git a/test/support/disable_missing_braces_warning.h b/test/support/disable_missing_braces_warning.h index 967a87ab3a2e6..97fd8a89a51a3 100644 --- a/test/support/disable_missing_braces_warning.h +++ b/test/support/disable_missing_braces_warning.h @@ -1,3 +1,11 @@ +//===----------------------------------------------------------------------===// +// +// 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 SUPPORT_DISABLE_MISSING_BRACES_WARNING_H #define SUPPORT_DISABLE_MISSING_BRACES_WARNING_H diff --git a/test/support/nasty_macros.hpp b/test/support/nasty_macros.hpp index 2738e47eac9fc..074853ea0b8a1 100644 --- a/test/support/nasty_macros.hpp +++ b/test/support/nasty_macros.hpp @@ -1,3 +1,11 @@ +//===----------------------------------------------------------------------===// +// +// 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 SUPPORT_NASTY_MACROS_HPP #define SUPPORT_NASTY_MACROS_HPP diff --git a/test/support/tracked_value.h b/test/support/tracked_value.h index b0869b23bdcbb..14d96b88368e6 100644 --- a/test/support/tracked_value.h +++ b/test/support/tracked_value.h @@ -1,3 +1,11 @@ +//===----------------------------------------------------------------------===// +// +// 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 SUPPORT_TRACKED_VALUE_H #define SUPPORT_TRACKED_VALUE_H diff --git a/test/support/user_defined_integral.hpp b/test/support/user_defined_integral.hpp index 3b0f7a19fcf40..383b65f72e3f0 100644 --- a/test/support/user_defined_integral.hpp +++ b/test/support/user_defined_integral.hpp @@ -1,3 +1,11 @@ +//===----------------------------------------------------------------------===// +// +// 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 SUPPORT_USER_DEFINED_INTEGRAL_HPP #define SUPPORT_USER_DEFINED_INTEGRAL_HPP diff --git a/utils/gen_link_script/gen_link_script.py b/utils/gen_link_script/gen_link_script.py index 5de18f9129c63..9f1f0b771fc1f 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 96e4ea7eee188..d9ceb8515d036 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 3c668036e47c2..1aa2b450c12fb 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 a16e54d34e012..6502a4819a470 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 b4f4cee2dc55c..7bafd8ec4c549 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 9f496427e372f..fae400e4e77e8 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 1d3b424f6f304..6ae71b01080ae 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 054c6c18e3e34..69c340028c6ba 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 5d8953986b283..a0fbb3e6341a9 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 c60b24629353c..231bdc8b367a9 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. """ |