Home
last modified time | relevance | path

Searched +full:libcxx +full:- (Results 1 – 25 of 143) sorted by relevance

123456

/external/libcxx/utils/libcxx/android/test/
Dconfig.py4 import libcxx.test.config
5 import libcxx.android.build
6 import libcxx.android.compiler
7 import libcxx.android.test.format
10 class Configuration(libcxx.test.config.Configuration):
43 self.build_cmds_dir = 'external/libcxx/buildcmds'
44 if not libcxx.android.build.mm(self.build_cmds_dir,
59 self.cxx = libcxx.android.compiler.AndroidCXXCompiler(
67 std_pattern = re.compile(r'-std=(c\+\+\d[0-9x-z])')
75 return libcxx.android.test.format.TestFormat(
[all …]
Dformat.py3 import lit.util # pylint: disable=import-error
5 from libcxx.android.executors import AdbExecutor
6 from libcxx.test.executor import LocalExecutor, TimeoutExecutor
7 import libcxx.test.format
8 import libcxx.android.adb as adb
11 class HostTestFormat(libcxx.test.format.LibcxxTestFormat):
12 # pylint: disable=super-init-not-called
24 # we're 32-bit or 64-bit, scan testconfig.mk, or just add both
57 # pylint: disable=protected-access
58 cmd, report, rc = libcxx.test.format.LibcxxTestFormat._build(
[all …]
/external/perfetto/buildtools/
DBUILD.gn7 # http://www.apache.org/licenses/LICENSE-2.0
20 "-Wno-unknown-warning-option",
21 "-Wno-global-constructors",
22 "-Wno-covered-switch-default",
23 "-Wno-used-but-marked-unused",
24 "-Wno-covered-switch-default",
25 "-Wno-global-constructors",
26 "-Wno-used-but-marked-unused",
27 "-Wno-inconsistent-missing-override",
28 "-Wno-unused-member-function",
[all …]
/external/libcxx/docs/
Dindex.rst19 * ABI compatibility with gcc's libstdc++ for some low-level features
32 ---------------------------
43 --------------
72 particular rvalue references and move-only types) requires changes to
80 -----------------------------
82 libc++ is known to work on the following platforms, using gcc-4.2 and
103 ---------------------
105 * C++11 - Complete
106 * `C++14 - Complete <http://libcxx.llvm.org/cxx1y_status.html>`__
107 * `C++1z - In Progress <http://libcxx.llvm.org/cxx1z_status.html>`__
[all …]
DUsingLibcxx.rst13 .. code-block:: bash
15 $ clang++ -stdlib=libc++ test.cpp
16 $ clang++ -std=c++11 -stdlib=libc++ test.cpp
19 and the ``-stdlib=libc++`` is not required.
21 .. _alternate libcxx:
26 .. code-block:: bash
28 $ clang++ -std=c++11 -stdlib=libc++ -nostdinc++ \
29 -I<libcxx-install-prefix>/include/c++/v1 \
30 -L<libcxx-install-prefix>/lib \
31 -Wl,-rpath,<libcxx-install-prefix>/lib \
[all …]
DTestingLibcxx.rst12 libc++ tests is by using make check-libcxx. However since libc++ can be used
22 --------------------------
30 .. code-block:: bash
36 .. code-block:: bash
38 $ export LIBCXX_SITE_CONFIG=path/to/build-libcxx/test/lit.site.cfg
41 -------------
47 .. code-block:: bash
49 $ cd path/to/src/libcxx
50 $ lit -sv test/std/re # Run all of the std::regex tests
51 $ lit -sv test/std/depr/depr.c.headers/stdlib_h.pass.cpp # Run a single test
[all …]
DBuildingLibcxx.rst16 Xcode 4.2 or later. However if you want to install tip-of-trunk from here
23 * ``cd where-you-want-llvm-to-live``
24 * ``svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm``
28 * ``cd where-you-want-llvm-to-live``
30 * ``svn co http://llvm.org/svn/llvm-project/libcxx/trunk libcxx``
34 * ``cd where-you-want-llvm-to-live``
36 * ``svn co http://llvm.org/svn/llvm-project/libcxxabi/trunk libcxxabi``
47 * ``cmake -G <generator> [options] <path to llvm sources>``
51 * ``make cxx`` --- will build libc++ and libc++abi.
52 * ``make check-cxx check-cxxabi`` --- will run the test suites.
[all …]
/external/libunwind_llvm/test/
Dlit.cfg1 # -*- Python -*- vim: set ft=python ts=4 sw=4 expandtab tw=79:
27 # If libcxx_source_root isn't specified in the config, assume that the libcxx
31 libcxx_src_root = os.path.join(config.test_source_root, '../../libcxx')
33 if os.path.isfile(os.path.join(libcxx_test_src_root, 'libcxx', '__init__.py')):
36 lit_config.fatal('Could not find libcxx test directory for test imports'
44 import libcxx.test.config
45 libcxx.test.config.loadSiteConfig(
50 obj_root = tempfile.mkdtemp(prefix='libunwind-testsuite-')
/external/libcxxabi/test/
Dlit.cfg1 # -*- Python -*- vim: set ft=python ts=4 sw=4 expandtab tw=79:
27 # If libcxx_source_root isn't specified in the config, assume that the libcxx
31 libcxx_src_root = os.path.join(config.test_source_root, '../../libcxx')
33 if os.path.isfile(os.path.join(libcxx_test_src_root, 'libcxx', '__init__.py')):
36 lit_config.fatal('Could not find libcxx test directory for test imports'
44 import libcxx.test.config
45 libcxx.test.config.loadSiteConfig(
50 obj_root = tempfile.mkdtemp(prefix='libcxxabi-testsuite-')
/external/perfetto/gn/standalone/libc++/
Dlibc++.gni7 # http://www.apache.org/licenses/LICENSE-2.0
20 # libstdc++ and LLVM's libc++ (aka libcxx). By default Linux provides libstdc++
22 # Android switched to libcxx.
23 # buildtools/libcxx(abi) contains a fixed version of the libcxx, the same one
29 # Now, there are two reasons for using the checked in copy of libcxx:
31 # because they need to be instrumented with -fsanitize as well (see
46 libcxx_prefix = "//buildtools/libcxx"
/external/clang/test/Driver/
Ddarwin-stdlib.cpp1 // RUN: %clang -target x86_64-apple-darwin -arch arm64 -miphoneos-version-min=7.0 %s -### 2>&1 | Fi…
2 // RUN: %clang -target x86_64-apple-darwin -mmacosx-version-min=10.8 %s -### 2>&1 | FileCheck %s --
3 // RUN: %clang -target x86_64-apple-darwin -mmacosx-version-min=10.9 %s -### 2>&1 | FileCheck %s --
4 // RUN: %clang -target x86_64-apple-darwin -arch armv7s -miphoneos-version-min=6.1 %s -### 2>&1 | F…
5 // RUN: %clang -target x86_64-apple-darwin -arch armv7s -miphoneos-version-min=7.0 %s -### 2>&1 | F…
6 // RUN: %clang -target x86_64-apple-darwin -arch armv7k %s -### 2>&1 | FileCheck %s --check-prefix=…
9 // properly. At the moment this is done by passing -stdlib=libc++ down to the
13 // CHECK-LIBCXX: -stdlib=libc++
15 // CHECK-LIBSTDCXX-NOT: -stdlib=libc++
16 // CHECK-LIBSTDCXX-NOT: -stdlib=libstdc++
/external/libcxx/test/libcxx/ndk/test/
Dconfig.py3 import libcxx.test.config
4 import libcxx.android.build
5 import libcxx.android.test.format
8 class Configuration(libcxx.test.config.Configuration):
27 self.link_flags.append('-nodefaultlibs')
30 self.link_flags.append('-L' + self.cxx_library_root)
35 self.link_flags.append('-L' + libdir)
37 self.link_flags.append('-lc++_ndk')
38 self.link_flags.append('-lc_ndk')
39 self.link_flags.append('-lc')
[all …]
/external/libcxx/test/
DCMakeLists.txt9 set(LIBCXX_LIT_VARIANT "libcxx" CACHE STRING
39 # By default, for non-standalone builds, libcxx and libcxxabi share a library
46 set(LIBCXX_TARGET_INFO "libcxx.test.target_info.LocalTI" CACHE STRING
51 set(AUTO_GEN_COMMENT "## Autogenerated by libcxx configuration.\n# Do not edit!")
70 add_lit_testsuite(check-cxx
71 "Running libcxx tests"
75 add_custom_target(check-libcxx DEPENDS check-cxx)
104 add_definitions(-DLIBCXX_FILESYSTEM_STATIC_TEST_ROOT="${STATIC_ROOT}")
107 add_definitions(-DLIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT="${DYNAMIC_ROOT}")
110 add_definitions(-DLIBCXX_FILESYSTEM_DYNAMIC_TEST_HELPER="${DYNAMIC_HELPER}")
Dlit.cfg1 # -*- Python -*- vim: set ft=python ts=4 sw=4 expandtab tw=79:
25 import libcxx.test.config
26 libcxx.test.config.loadSiteConfig(lit_config, config, 'libcxx_site_config',
37 obj_root = tempfile.mkdtemp(prefix='libcxx-testsuite-')
43 cfg_variant = getattr(config, 'configuration_variant', 'libcxx')
/external/libcxx/utils/libcxx/
Dcompiler.py1 #===----------------------------------------------------------------------===##
8 #===----------------------------------------------------------------------===##
12 import libcxx.util
54 self.verify_supported = self.hasCompileFlag(['-Xclang',
55 '-verify-ignore-unexpected'])
58 '-Xclang', '-verify',
59 '-Xclang', '-verify-ignore-unexpected=note',
60 '-ferror-limit=1024'
89 compiler_type = 'apple-clang'
110 cmd += ['-o', out]
[all …]
/external/libcxx/utils/libcxx/test/
Dformat.py1 #===----------------------------------------------------------------------===##
8 #===----------------------------------------------------------------------===##
16 import lit.Test # pylint: disable=import-error
17 import lit.TestRunner # pylint: disable=import-error
19 # pylint: disable=import-error
21 from libcxx.test.executor import LocalExecutor as LocalExecutor
22 import libcxx.util
30 FOO.pass.cpp - Executable test which should compile, run, and exit with
32 FOO.fail.cpp - Negative test case which is expected to fail compilation.
33 FOO.sh.cpp - A test that uses LIT's ShTest format.
[all …]
/external/libcxx/benchmarks/
DCMakeLists.txt9 -Wno-unused-command-line-argument
10 -nostdinc++
11 -isystem ${LIBCXX_SOURCE_DIR}/include
12 -L${LIBCXX_LIBRARY_DIR}
13 -Wl,-rpath,${LIBCXX_LIBRARY_DIR}
17 -L${LIBCXX_CXX_ABI_LIBRARY_PATH}
18 -Wl,-rpath,${LIBCXX_CXX_ABI_LIBRARY_PATH})
22 ExternalProject_Add(google-benchmark-libcxx
25 PREFIX benchmark-libcxx
26 SOURCE_DIR ${LIBCXX_SOURCE_DIR}/utils/google-benchmark
[all …]
/external/libcxx/
Dlit.site.cfg21 top, "prebuilts/clang/linux-x86/host/3.6/bin/clang++")
23 config.libcxx_src_root = os.path.join(top, "external/libcxx")
24 config.libcxx_obj_root = os.path.join(top, "external/libcxx")
34 config.configuration_variant = "libcxx.ndk"
35 config.target_triple = "armv7a-linux-androideabi"
36 config.sysroot = os.path.join(ndk, "platforms/android-21/arch-arm/")
38 top, "prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9")
42 config, os.path.join(top, "external/libcxx/test/lit.cfg"))
/external/libcxx/utils/libcxx/android/
Dexecutors.py3 import libcxx.test.executor
5 from libcxx.android import adb
6 from lit.util import executeCommand # pylint: disable=import-error
9 class AdbExecutor(libcxx.test.executor.RemoteExecutor):
18 dir_arg = '-d' if is_dir else ''
19 cmd = 'mktemp -q {} /data/local/tmp/libcxx.XXXXXXXXXX'.format(dir_arg)
26 def _copy_in_file(self, src, dst): # pylint: disable=no-self-use
32 adb_cmd.extend(['-s', self.serial])
/external/libcxx/include/
DCMakeLists.txt24 COMPONENT cxx-headers
37 -o ${LIBCXX_BINARY_DIR}/__generated_config
50 COMPONENT cxx-headers)
55 add_custom_target(cxx-headers)
56 add_custom_target(install-cxx-headers
57 DEPENDS cxx-headers ${generated_config_deps}
59 -DCMAKE_INSTALL_COMPONENT=cxx-headers
60 -P "${CMAKE_BINARY_DIR}/cmake_install.cmake")
61 # Stripping is a no-op for headers
62 add_custom_target(install-cxx-headers-stripped DEPENDS install-cxx-headers)
[all …]
/external/compiler-rt/cmake/Modules/
DCompilerRTCompile.cmake8 # Canonicalize /flag to -flag.
9 string(REPLACE ";/" ";-" msvc_flags "${msvc_flags}")
11 # Make space separated -D and -U flags into joined flags.
12 string(REGEX REPLACE ";-\([DU]\);" ";-\\1" msvc_flags "${msvc_flags}")
16 if ("${flag}" MATCHES "^-[DU]")
17 # Pass through basic command line macro definitions (-DNDEBUG).
19 elseif ("${flag}" MATCHES "^-O[2x]")
20 # Canonicalize normal optimization flags to -O2.
21 list(APPEND clang_flags "-O2")
36 list(APPEND SOURCE_DEPS clang compiler-rt-headers)
[all …]
/external/libcxx/utils/libcxx/sym_check/
Dutil.py1 #===----------------------------------------------------------------------===##
8 #===----------------------------------------------------------------------===##
14 import libcxx.util
66 out, _, exit_code = libcxx.util.executeCommandVerbose(
100 import libcxx.sym_check.extract
102 return libcxx.sym_check.extract.extract_symbols(filename)
248 if re.search('(St[0-9])|(__cxa)|(__cxxabi)', name):
264 assert not s['is_defined'] and "found defined non-std symbol"
Dextract.py1 # -*- Python -*- vim: set syntax=python tabstop=4 expandtab cc=80:
2 #===----------------------------------------------------------------------===##
9 #===----------------------------------------------------------------------===##
11 extract - A set of function that extract symbol lists from shared libraries.
17 import libcxx.util
18 from libcxx.sym_check import util
24 NMExtractor - Extract symbol lists from libraries using nm.
44 self.flags = ['-P', '-g']
52 out, _, exit_code = libcxx.util.executeCommandVerbose(cmd)
110 ReadElfExtractor - Extract symbol lists from libraries using readelf.
[all …]
/external/libcxx/utils/
Dgen_link_script.py2 #===----------------------------------------------------------------------===##
9 #===----------------------------------------------------------------------===##
19 …print_and_exit("Usage: ./gen_link_script.py [--help] [--dryrun] <path/to/libcxx.so> <public_libs>.…
25 gen_link_script.py [--help] [--dryrun] <path/to/libcxx.so> <public_libs>...
29 An example script for c++abi would look like "INPUT(libc++.so.1 -lc++abi)".
32 <path/to/libcxx.so> - The top level symlink to the versioned libc++ shared
34 <public_libs> - List of library names to include in linker script.
47 if args[0] == '--help':
49 dryrun = '--dryrun' == args[0]
69 public_libs = ['-l%s' % l for l in public_libs]
/external/libcxx/test/support/
Dplatform_support.h1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
12 // - locale names
13 // - floating point number string output
20 // WARNING: Windows does not support UTF-8 codepages.
22 #define LOCALE_en_US "en-US"
23 #define LOCALE_en_US_UTF_8 "en-US"
24 #define LOCALE_cs_CZ_ISO8859_2 "cs-CZ"
25 #define LOCALE_fr_FR_UTF_8 "fr-FR"
26 #define LOCALE_fr_CA_ISO8859_1 "fr-CA"
[all …]

123456