svn commit: r294606 - in vendor/libc++/dist: src/include test/libcxx test/libcxx/test test/std/atomics/atomics.types.operations/atomics.types.operations.req test/std/utilities/function.objects/func...
Dimitry Andric
dim at FreeBSD.org
Fri Jan 22 21:18:08 UTC 2016
Author: dim
Date: Fri Jan 22 21:18:04 2016
New Revision: 294606
URL: https://svnweb.freebsd.org/changeset/base/294606
Log:
Vendor import of libc++ release_38 branch r258549:
https://llvm.org/svn/llvm-project/libcxx/branches/release_38@258549
Modified:
vendor/libc++/dist/src/include/atomic_support.h
vendor/libc++/dist/test/libcxx/compiler.py
vendor/libc++/dist/test/libcxx/test/config.py
vendor/libc++/dist/test/libcxx/test/executor.py
vendor/libc++/dist/test/libcxx/test/format.py
vendor/libc++/dist/test/libcxx/test/target_info.py
vendor/libc++/dist/test/libcxx/test/tracing.py
vendor/libc++/dist/test/libcxx/util.py
vendor/libc++/dist/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_helpers.h
vendor/libc++/dist/test/std/utilities/function.objects/func.require/invoke_helpers.h
vendor/libc++/dist/test/std/utilities/function.objects/func.wrap/func.wrap.func/function_types.h
vendor/libc++/dist/test/support/any_helpers.h
vendor/libc++/dist/test/support/cmpxchg_loop.h
vendor/libc++/dist/test/support/count_new.hpp
vendor/libc++/dist/test/support/disable_missing_braces_warning.h
vendor/libc++/dist/test/support/nasty_macros.hpp
vendor/libc++/dist/test/support/tracked_value.h
vendor/libc++/dist/test/support/user_defined_integral.hpp
vendor/libc++/dist/utils/gen_link_script/gen_link_script.py
vendor/libc++/dist/utils/not/not.py
vendor/libc++/dist/utils/sym_check/sym_check/__init__.py
vendor/libc++/dist/utils/sym_check/sym_check/diff.py
vendor/libc++/dist/utils/sym_check/sym_check/extract.py
vendor/libc++/dist/utils/sym_check/sym_check/match.py
vendor/libc++/dist/utils/sym_check/sym_check/util.py
vendor/libc++/dist/utils/sym_check/sym_diff.py
vendor/libc++/dist/utils/sym_check/sym_extract.py
vendor/libc++/dist/utils/sym_check/sym_match.py
Modified: vendor/libc++/dist/src/include/atomic_support.h
==============================================================================
--- vendor/libc++/dist/src/include/atomic_support.h Fri Jan 22 21:17:32 2016 (r294605)
+++ vendor/libc++/dist/src/include/atomic_support.h Fri Jan 22 21:18:04 2016 (r294606)
@@ -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
Modified: vendor/libc++/dist/test/libcxx/compiler.py
==============================================================================
--- vendor/libc++/dist/test/libcxx/compiler.py Fri Jan 22 21:17:32 2016 (r294605)
+++ vendor/libc++/dist/test/libcxx/compiler.py Fri Jan 22 21:18:04 2016 (r294606)
@@ -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
Modified: vendor/libc++/dist/test/libcxx/test/config.py
==============================================================================
--- vendor/libc++/dist/test/libcxx/test/config.py Fri Jan 22 21:17:32 2016 (r294605)
+++ vendor/libc++/dist/test/libcxx/test/config.py Fri Jan 22 21:18:04 2016 (r294606)
@@ -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))
Modified: vendor/libc++/dist/test/libcxx/test/executor.py
==============================================================================
--- vendor/libc++/dist/test/libcxx/test/executor.py Fri Jan 22 21:17:32 2016 (r294605)
+++ vendor/libc++/dist/test/libcxx/test/executor.py Fri Jan 22 21:18:04 2016 (r294606)
@@ -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
Modified: vendor/libc++/dist/test/libcxx/test/format.py
==============================================================================
--- vendor/libc++/dist/test/libcxx/test/format.py Fri Jan 22 21:17:32 2016 (r294605)
+++ vendor/libc++/dist/test/libcxx/test/format.py Fri Jan 22 21:18:04 2016 (r294606)
@@ -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
Modified: vendor/libc++/dist/test/libcxx/test/target_info.py
==============================================================================
--- vendor/libc++/dist/test/libcxx/test/target_info.py Fri Jan 22 21:17:32 2016 (r294605)
+++ vendor/libc++/dist/test/libcxx/test/target_info.py Fri Jan 22 21:18:04 2016 (r294606)
@@ -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
Modified: vendor/libc++/dist/test/libcxx/test/tracing.py
==============================================================================
--- vendor/libc++/dist/test/libcxx/test/tracing.py Fri Jan 22 21:17:32 2016 (r294605)
+++ vendor/libc++/dist/test/libcxx/test/tracing.py Fri Jan 22 21:18:04 2016 (r294606)
@@ -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
Modified: vendor/libc++/dist/test/libcxx/util.py
==============================================================================
--- vendor/libc++/dist/test/libcxx/util.py Fri Jan 22 21:17:32 2016 (r294605)
+++ vendor/libc++/dist/test/libcxx/util.py Fri Jan 22 21:18:04 2016 (r294606)
@@ -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
Modified: vendor/libc++/dist/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_helpers.h
==============================================================================
--- vendor/libc++/dist/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_helpers.h Fri Jan 22 21:17:32 2016 (r294605)
+++ vendor/libc++/dist/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_helpers.h Fri Jan 22 21:18:04 2016 (r294606)
@@ -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
Modified: vendor/libc++/dist/test/std/utilities/function.objects/func.require/invoke_helpers.h
==============================================================================
--- vendor/libc++/dist/test/std/utilities/function.objects/func.require/invoke_helpers.h Fri Jan 22 21:17:32 2016 (r294605)
+++ vendor/libc++/dist/test/std/utilities/function.objects/func.require/invoke_helpers.h Fri Jan 22 21:18:04 2016 (r294606)
@@ -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
Modified: vendor/libc++/dist/test/std/utilities/function.objects/func.wrap/func.wrap.func/function_types.h
==============================================================================
--- vendor/libc++/dist/test/std/utilities/function.objects/func.wrap/func.wrap.func/function_types.h Fri Jan 22 21:17:32 2016 (r294605)
+++ vendor/libc++/dist/test/std/utilities/function.objects/func.wrap/func.wrap.func/function_types.h Fri Jan 22 21:18:04 2016 (r294606)
@@ -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
Modified: vendor/libc++/dist/test/support/any_helpers.h
==============================================================================
--- vendor/libc++/dist/test/support/any_helpers.h Fri Jan 22 21:17:32 2016 (r294605)
+++ vendor/libc++/dist/test/support/any_helpers.h Fri Jan 22 21:18:04 2016 (r294606)
@@ -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
Modified: vendor/libc++/dist/test/support/cmpxchg_loop.h
==============================================================================
--- vendor/libc++/dist/test/support/cmpxchg_loop.h Fri Jan 22 21:17:32 2016 (r294605)
+++ vendor/libc++/dist/test/support/cmpxchg_loop.h Fri Jan 22 21:18:04 2016 (r294606)
@@ -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>
Modified: vendor/libc++/dist/test/support/count_new.hpp
==============================================================================
--- vendor/libc++/dist/test/support/count_new.hpp Fri Jan 22 21:17:32 2016 (r294605)
+++ vendor/libc++/dist/test/support/count_new.hpp Fri Jan 22 21:18:04 2016 (r294606)
@@ -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
Modified: vendor/libc++/dist/test/support/disable_missing_braces_warning.h
==============================================================================
--- vendor/libc++/dist/test/support/disable_missing_braces_warning.h Fri Jan 22 21:17:32 2016 (r294605)
+++ vendor/libc++/dist/test/support/disable_missing_braces_warning.h Fri Jan 22 21:18:04 2016 (r294606)
@@ -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
Modified: vendor/libc++/dist/test/support/nasty_macros.hpp
==============================================================================
--- vendor/libc++/dist/test/support/nasty_macros.hpp Fri Jan 22 21:17:32 2016 (r294605)
+++ vendor/libc++/dist/test/support/nasty_macros.hpp Fri Jan 22 21:18:04 2016 (r294606)
@@ -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
Modified: vendor/libc++/dist/test/support/tracked_value.h
==============================================================================
--- vendor/libc++/dist/test/support/tracked_value.h Fri Jan 22 21:17:32 2016 (r294605)
+++ vendor/libc++/dist/test/support/tracked_value.h Fri Jan 22 21:18:04 2016 (r294606)
@@ -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
Modified: vendor/libc++/dist/test/support/user_defined_integral.hpp
==============================================================================
--- vendor/libc++/dist/test/support/user_defined_integral.hpp Fri Jan 22 21:17:32 2016 (r294605)
+++ vendor/libc++/dist/test/support/user_defined_integral.hpp Fri Jan 22 21:18:04 2016 (r294606)
@@ -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
Modified: vendor/libc++/dist/utils/gen_link_script/gen_link_script.py
==============================================================================
--- vendor/libc++/dist/utils/gen_link_script/gen_link_script.py Fri Jan 22 21:17:32 2016 (r294605)
+++ vendor/libc++/dist/utils/gen_link_script/gen_link_script.py Fri Jan 22 21:18:04 2016 (r294606)
@@ -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
Modified: vendor/libc++/dist/utils/not/not.py
==============================================================================
--- vendor/libc++/dist/utils/not/not.py Fri Jan 22 21:17:32 2016 (r294605)
+++ vendor/libc++/dist/utils/not/not.py Fri Jan 22 21:18:04 2016 (r294606)
@@ -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
Modified: vendor/libc++/dist/utils/sym_check/sym_check/__init__.py
==============================================================================
--- vendor/libc++/dist/utils/sym_check/sym_check/__init__.py Fri Jan 22 21:17:32 2016 (r294605)
+++ vendor/libc++/dist/utils/sym_check/sym_check/__init__.py Fri Jan 22 21:18:04 2016 (r294606)
@@ -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'
Modified: vendor/libc++/dist/utils/sym_check/sym_check/diff.py
==============================================================================
--- vendor/libc++/dist/utils/sym_check/sym_check/diff.py Fri Jan 22 21:17:32 2016 (r294605)
+++ vendor/libc++/dist/utils/sym_check/sym_check/diff.py Fri Jan 22 21:18:04 2016 (r294606)
@@ -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.
"""
Modified: vendor/libc++/dist/utils/sym_check/sym_check/extract.py
==============================================================================
--- vendor/libc++/dist/utils/sym_check/sym_check/extract.py Fri Jan 22 21:17:32 2016 (r294605)
+++ vendor/libc++/dist/utils/sym_check/sym_check/extract.py Fri Jan 22 21:18:04 2016 (r294606)
@@ -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.
"""
Modified: vendor/libc++/dist/utils/sym_check/sym_check/match.py
==============================================================================
--- vendor/libc++/dist/utils/sym_check/sym_check/match.py Fri Jan 22 21:17:32 2016 (r294605)
+++ vendor/libc++/dist/utils/sym_check/sym_check/match.py Fri Jan 22 21:18:04 2016 (r294606)
@@ -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
"""
Modified: vendor/libc++/dist/utils/sym_check/sym_check/util.py
==============================================================================
--- vendor/libc++/dist/utils/sym_check/sym_check/util.py Fri Jan 22 21:17:32 2016 (r294605)
+++ vendor/libc++/dist/utils/sym_check/sym_check/util.py Fri Jan 22 21:18:04 2016 (r294606)
@@ -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
Modified: vendor/libc++/dist/utils/sym_check/sym_diff.py
==============================================================================
--- vendor/libc++/dist/utils/sym_check/sym_diff.py Fri Jan 22 21:17:32 2016 (r294605)
+++ vendor/libc++/dist/utils/sym_check/sym_diff.py Fri Jan 22 21:18:04 2016 (r294606)
@@ -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
Modified: vendor/libc++/dist/utils/sym_check/sym_extract.py
==============================================================================
--- vendor/libc++/dist/utils/sym_check/sym_extract.py Fri Jan 22 21:17:32 2016 (r294605)
+++ vendor/libc++/dist/utils/sym_check/sym_extract.py Fri Jan 22 21:18:04 2016 (r294606)
@@ -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.
"""
Modified: vendor/libc++/dist/utils/sym_check/sym_match.py
==============================================================================
--- vendor/libc++/dist/utils/sym_check/sym_match.py Fri Jan 22 21:17:32 2016 (r294605)
+++ vendor/libc++/dist/utils/sym_check/sym_match.py Fri Jan 22 21:18:04 2016 (r294606)
@@ -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.
"""
More information about the svn-src-all
mailing list