Vendor import of libc++ release_38 branch r258549:
https://llvm.org/svn/llvm-project/libcxx/branches/release_38@258549
This commit is contained in:
parent
dfd66a522f
commit
e0b666adaf
@ -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
|
#ifndef ATOMIC_SUPPORT_H
|
||||||
#define ATOMIC_SUPPORT_H
|
#define 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.
|
||||||
|
#
|
||||||
|
#===----------------------------------------------------------------------===##
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import lit.util
|
import lit.util
|
||||||
import libcxx.util
|
import libcxx.util
|
||||||
|
@ -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 locale
|
||||||
import os
|
import os
|
||||||
import platform
|
import platform
|
||||||
@ -606,7 +615,7 @@ class Configuration(object):
|
|||||||
for k, v in self.env.items():
|
for k, v in self.env.items():
|
||||||
exec_env_str += ' %s=%s' % (k, v)
|
exec_env_str += ' %s=%s' % (k, v)
|
||||||
# Configure run env substitution.
|
# Configure run env substitution.
|
||||||
exec_str = ''
|
exec_str = exec_env_str
|
||||||
if self.lit_config.useValgrind:
|
if self.lit_config.useValgrind:
|
||||||
exec_str = ' '.join(self.lit_config.valgrindArgs) + exec_env_str
|
exec_str = ' '.join(self.lit_config.valgrindArgs) + exec_env_str
|
||||||
sub.append(('%exec', exec_str))
|
sub.append(('%exec', exec_str))
|
||||||
|
@ -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 os
|
||||||
|
|
||||||
from libcxx.test import tracing
|
from libcxx.test import tracing
|
||||||
|
@ -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 errno
|
||||||
import os
|
import os
|
||||||
import time
|
import time
|
||||||
|
@ -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 importlib
|
||||||
import lit.util # pylint: disable=import-error,no-name-in-module
|
import lit.util # pylint: disable=import-error,no-name-in-module
|
||||||
import locale
|
import locale
|
||||||
|
@ -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 os
|
||||||
import inspect
|
import inspect
|
||||||
|
|
||||||
|
@ -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
|
from contextlib import contextmanager
|
||||||
import os
|
import os
|
||||||
import tempfile
|
import tempfile
|
||||||
|
@ -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
|
#ifndef ATOMIC_HELPERS_H
|
||||||
#define ATOMIC_HELPERS_H
|
#define 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 INVOKE_HELPERS_H
|
#ifndef INVOKE_HELPERS_H
|
||||||
#define INVOKE_HELPERS_H
|
#define 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 FUNCTION_TYPES_H
|
#ifndef FUNCTION_TYPES_H
|
||||||
#define FUNCTION_TYPES_H
|
#define FUNCTION_TYPES_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
|
#ifndef ANY_HELPERS_H
|
||||||
#define ANY_HELPERS_H
|
#define ANY_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.
|
||||||
|
//
|
||||||
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
|
|
||||||
template <class A, class T>
|
template <class A, class T>
|
||||||
|
@ -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
|
#ifndef COUNT_NEW_HPP
|
||||||
#define COUNT_NEW_HPP
|
#define COUNT_NEW_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_DISABLE_MISSING_BRACES_WARNING_H
|
#ifndef SUPPORT_DISABLE_MISSING_BRACES_WARNING_H
|
||||||
#define SUPPORT_DISABLE_MISSING_BRACES_WARNING_H
|
#define 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_NASTY_MACROS_HPP
|
#ifndef SUPPORT_NASTY_MACROS_HPP
|
||||||
#define SUPPORT_NASTY_MACROS_HPP
|
#define 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_TRACKED_VALUE_H
|
#ifndef SUPPORT_TRACKED_VALUE_H
|
||||||
#define SUPPORT_TRACKED_VALUE_H
|
#define 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_USER_DEFINED_INTEGRAL_HPP
|
#ifndef SUPPORT_USER_DEFINED_INTEGRAL_HPP
|
||||||
#define SUPPORT_USER_DEFINED_INTEGRAL_HPP
|
#define SUPPORT_USER_DEFINED_INTEGRAL_HPP
|
||||||
|
|
||||||
|
@ -1,4 +1,13 @@
|
|||||||
#!/usr/bin/env python
|
#!/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 os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
@ -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.
|
"""not.py is a utility for inverting the return code of commands.
|
||||||
It acts similar to llvm/utils/not.
|
It acts similar to llvm/utils/not.
|
||||||
ex: python /path/to/not.py ' echo hello
|
ex: python /path/to/not.py ' echo hello
|
||||||
|
@ -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"""
|
"""libcxx abi symbol checker"""
|
||||||
|
|
||||||
__author__ = 'Eric Fiselier'
|
__author__ = 'Eric Fiselier'
|
||||||
|
@ -1,4 +1,12 @@
|
|||||||
# -*- Python -*- vim: set syntax=python tabstop=4 expandtab cc=80:
|
# -*- 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 - A set of functions for diff-ing two symbol lists.
|
||||||
"""
|
"""
|
||||||
|
@ -1,4 +1,12 @@
|
|||||||
# -*- Python -*- vim: set syntax=python tabstop=4 expandtab cc=80:
|
# -*- 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.
|
extract - A set of function that extract symbol lists from shared libraries.
|
||||||
"""
|
"""
|
||||||
|
@ -1,4 +1,12 @@
|
|||||||
# -*- Python -*- vim: set syntax=python tabstop=4 expandtab cc=80:
|
# -*- 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
|
match - A set of functions for matching symbols in a list to a list of regexs
|
||||||
"""
|
"""
|
||||||
|
@ -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 ast
|
||||||
import distutils.spawn
|
import distutils.spawn
|
||||||
import signal
|
import signal
|
||||||
|
@ -1,7 +1,16 @@
|
|||||||
#!/usr/bin/env python
|
#!/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.
|
sym_diff - Compare two symbol lists and output the differences.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from argparse import ArgumentParser
|
from argparse import ArgumentParser
|
||||||
import sys
|
import sys
|
||||||
from sym_check import diff, util
|
from sym_check import diff, util
|
||||||
|
@ -1,4 +1,12 @@
|
|||||||
#!/usr/bin/env python
|
#!/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.
|
sym_extract - Extract and output a list of symbols from a shared library.
|
||||||
"""
|
"""
|
||||||
|
@ -1,4 +1,13 @@
|
|||||||
#!/usr/bin/env python
|
#!/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.
|
sym_match - Match all symbols in a list against a list of regexes.
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user