[clang-tools-extra] r339307 - [CMake] Use normalized Windows target triples

2018-08-08 Thread Petr Hosek via cfe-commits
Author: phosek Date: Wed Aug 8 19:16:18 2018 New Revision: 339307 URL: http://llvm.org/viewvc/llvm-project?rev=339307&view=rev Log: [CMake] Use normalized Windows target triples Changes the default Windows target triple returned by GetHostTriple.cmake from the old environment names (which we wan

r339307 - [CMake] Use normalized Windows target triples

2018-08-08 Thread Petr Hosek via cfe-commits
Author: phosek Date: Wed Aug 8 19:16:18 2018 New Revision: 339307 URL: http://llvm.org/viewvc/llvm-project?rev=339307&view=rev Log: [CMake] Use normalized Windows target triples Changes the default Windows target triple returned by GetHostTriple.cmake from the old environment names (which we wan

r339834 - [Driver] -print-target-triple and -print-effective-triple options

2018-08-15 Thread Petr Hosek via cfe-commits
Author: phosek Date: Wed Aug 15 17:22:03 2018 New Revision: 339834 URL: http://llvm.org/viewvc/llvm-project?rev=339834&view=rev Log: [Driver] -print-target-triple and -print-effective-triple options These can be used to print Clang target and effective triple. Differential Revision: https://revi

r340471 - [Driver] Check normalized triples for multiarch runtime path

2018-08-22 Thread Petr Hosek via cfe-commits
Author: phosek Date: Wed Aug 22 15:56:46 2018 New Revision: 340471 URL: http://llvm.org/viewvc/llvm-project?rev=340471&view=rev Log: [Driver] Check normalized triples for multiarch runtime path Previously we only used target triple as provided which matches the GCC behavior, but it also means tha

r331826 - [CMake] Include llvm-strip in Fuchsia toolchain distribution

2018-05-08 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue May 8 17:05:28 2018 New Revision: 331826 URL: http://llvm.org/viewvc/llvm-project?rev=331826&view=rev Log: [CMake] Include llvm-strip in Fuchsia toolchain distribution Now that llvm-strip is available, include it in the Fuchsia toolchain. Differential Revision: https://

r331833 - Set CMAKE_BUILD_WITH_INSTALL_RPATH for Fuchsia runtimes

2018-05-08 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue May 8 17:58:12 2018 New Revision: 331833 URL: http://llvm.org/viewvc/llvm-project?rev=331833&view=rev Log: Set CMAKE_BUILD_WITH_INSTALL_RPATH for Fuchsia runtimes This doesn't make any difference since we don't use RPATH/RUNPATH on Fuchsia but it avoids the CMake error w

r332138 - [Driver] Only use -lc++ on Fuchsia

2018-05-11 Thread Petr Hosek via cfe-commits
Author: phosek Date: Fri May 11 13:42:31 2018 New Revision: 332138 URL: http://llvm.org/viewvc/llvm-project?rev=332138&view=rev Log: [Driver] Only use -lc++ on Fuchsia The fact that libc++ depends on libc++abi and libunwind is an internal detail that's captured by the libc++.so linker script. Di

r332750 - [Support] Avoid normalization in sys::getDefaultTargetTriple

2018-05-18 Thread Petr Hosek via cfe-commits
Author: phosek Date: Fri May 18 11:33:07 2018 New Revision: 332750 URL: http://llvm.org/viewvc/llvm-project?rev=332750&view=rev Log: [Support] Avoid normalization in sys::getDefaultTargetTriple The return value of sys::getDefaultTargetTriple, which is derived from -DLLVM_DEFAULT_TRIPLE, is used t

r333307 - [Support] Avoid normalization in sys::getDefaultTargetTriple

2018-05-25 Thread Petr Hosek via cfe-commits
Author: phosek Date: Fri May 25 13:39:37 2018 New Revision: 07 URL: http://llvm.org/viewvc/llvm-project?rev=07&view=rev Log: [Support] Avoid normalization in sys::getDefaultTargetTriple The return value of sys::getDefaultTargetTriple, which is derived from -DLLVM_DEFAULT_TRIPLE, is used t

r333468 - [Driver] Rename DefaultTargetTriple to TargetTriple

2018-05-29 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue May 29 15:35:39 2018 New Revision: 333468 URL: http://llvm.org/viewvc/llvm-project?rev=333468&view=rev Log: [Driver] Rename DefaultTargetTriple to TargetTriple While this value is initialized with the DefaultTargetTriple, it can be later overriden using the -target flag s

r316053 - [CMake] Build Fuchsia toolchain as -O3

2017-10-17 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue Oct 17 18:27:54 2017 New Revision: 316053 URL: http://llvm.org/viewvc/llvm-project?rev=316053&view=rev Log: [CMake] Build Fuchsia toolchain as -O3 Differential Revision: https://reviews.llvm.org/D39017 Modified: cfe/trunk/cmake/caches/Fuchsia-stage2.cmake Modified:

r316379 - [Driver] Use ld.lld directly for Fuchsia rather than passing flavor

2017-10-23 Thread Petr Hosek via cfe-commits
Author: phosek Date: Mon Oct 23 14:31:05 2017 New Revision: 316379 URL: http://llvm.org/viewvc/llvm-project?rev=316379&view=rev Log: [Driver] Use ld.lld directly for Fuchsia rather than passing flavor Passing a flavor to LLD requires command line argument, but if these are being passed through a

r316540 - [clang-refactor] Use add_clang_tool CMake template

2017-10-24 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue Oct 24 18:11:27 2017 New Revision: 316540 URL: http://llvm.org/viewvc/llvm-project?rev=316540&view=rev Log: [clang-refactor] Use add_clang_tool CMake template This allows including clang-refactor in LLVM_DISTRIBUTION_COMPONENTS to build clang-refactor as part of the toolc

r316541 - [CMake] Include clang-refactor in Fuchsia toolchain

2017-10-24 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue Oct 24 19:31:38 2017 New Revision: 316541 URL: http://llvm.org/viewvc/llvm-project?rev=316541&view=rev Log: [CMake] Include clang-refactor in Fuchsia toolchain This includes the clang-refactor in the toolchain distribution. Differential Revision: https://reviews.llvm.org

r316542 - [CMake] Build host builtins in Fuchsia toolchain even on Darwin

2017-10-24 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue Oct 24 19:35:22 2017 New Revision: 316542 URL: http://llvm.org/viewvc/llvm-project?rev=316542&view=rev Log: [CMake] Build host builtins in Fuchsia toolchain even on Darwin This is nedeeded for the toolchain to be actually usable as a host toolchain on Darwin. Differentia

r342021 - [Driver] Search LibraryPaths when handling -print-file-name

2018-09-11 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue Sep 11 20:26:10 2018 New Revision: 342021 URL: http://llvm.org/viewvc/llvm-project?rev=342021&view=rev Log: [Driver] Search LibraryPaths when handling -print-file-name This is necessary to handle the multiarch runtime directories. Differential Revision: https://reviews.l

[libcxx] r337630 - [CMake] Install C++ ABI headers into the right location

2018-07-20 Thread Petr Hosek via cfe-commits
Author: phosek Date: Fri Jul 20 15:45:24 2018 New Revision: 337630 URL: http://llvm.org/viewvc/llvm-project?rev=337630&view=rev Log: [CMake] Install C++ ABI headers into the right location This is a follow-up to r335809 and r337118. While libc++ headers are now installed into the right location i

[libcxx] r337668 - [CMake] Support statically linking dependencies only to shared or static library

2018-07-22 Thread Petr Hosek via cfe-commits
Author: phosek Date: Sun Jul 22 21:19:55 2018 New Revision: 337668 URL: http://llvm.org/viewvc/llvm-project?rev=337668&view=rev Log: [CMake] Support statically linking dependencies only to shared or static library Currently it's possible to select whether to statically link unwinder or the C++ AB

[libcxxabi] r337668 - [CMake] Support statically linking dependencies only to shared or static library

2018-07-22 Thread Petr Hosek via cfe-commits
Author: phosek Date: Sun Jul 22 21:19:55 2018 New Revision: 337668 URL: http://llvm.org/viewvc/llvm-project?rev=337668&view=rev Log: [CMake] Support statically linking dependencies only to shared or static library Currently it's possible to select whether to statically link unwinder or the C++ AB

[libcxxabi] r337670 - Revert "[CMake] Support statically linking dependencies only to shared or static library"

2018-07-22 Thread Petr Hosek via cfe-commits
Author: phosek Date: Sun Jul 22 22:07:44 2018 New Revision: 337670 URL: http://llvm.org/viewvc/llvm-project?rev=337670&view=rev Log: Revert "[CMake] Support statically linking dependencies only to shared or static library" This reverts commit r337668: broke the cxxabi build when using Make. Mod

[libcxx] r337670 - Revert "[CMake] Support statically linking dependencies only to shared or static library"

2018-07-22 Thread Petr Hosek via cfe-commits
Author: phosek Date: Sun Jul 22 22:07:44 2018 New Revision: 337670 URL: http://llvm.org/viewvc/llvm-project?rev=337670&view=rev Log: Revert "[CMake] Support statically linking dependencies only to shared or static library" This reverts commit r337668: broke the cxxabi build when using Make. Mod

[libcxx] r337814 - Reland "[CMake] Support statically linking dependencies only to shared or static library"

2018-07-24 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue Jul 24 00:06:17 2018 New Revision: 337814 URL: http://llvm.org/viewvc/llvm-project?rev=337814&view=rev Log: Reland "[CMake] Support statically linking dependencies only to shared or static library" This is a reland of commit r337668. Modified: libcxx/trunk/CMakeList

[libcxxabi] r337814 - Reland "[CMake] Support statically linking dependencies only to shared or static library"

2018-07-24 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue Jul 24 00:06:17 2018 New Revision: 337814 URL: http://llvm.org/viewvc/llvm-project?rev=337814&view=rev Log: Reland "[CMake] Support statically linking dependencies only to shared or static library" This is a reland of commit r337668. Modified: libcxxabi/trunk/CMakeL

[libcxx] r337833 - [CMake] Fix the setting of LIBCXX_HEADER_DIR in standalone build

2018-07-24 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue Jul 24 08:49:29 2018 New Revision: 337833 URL: http://llvm.org/viewvc/llvm-project?rev=337833&view=rev Log: [CMake] Fix the setting of LIBCXX_HEADER_DIR in standalone build This is an alternative approach to r337727 which broke the build because libc++ headers were copied

[libcxx] r337867 - [CMake] Option to control whether shared/static library is installed

2018-07-24 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue Jul 24 16:27:51 2018 New Revision: 337867 URL: http://llvm.org/viewvc/llvm-project?rev=337867&view=rev Log: [CMake] Option to control whether shared/static library is installed Currently it's only possible to control whether shared or static library build of libc++, libc+

[libunwind] r337867 - [CMake] Option to control whether shared/static library is installed

2018-07-24 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue Jul 24 16:27:51 2018 New Revision: 337867 URL: http://llvm.org/viewvc/llvm-project?rev=337867&view=rev Log: [CMake] Option to control whether shared/static library is installed Currently it's only possible to control whether shared or static library build of libc++, libc+

[libcxxabi] r337867 - [CMake] Option to control whether shared/static library is installed

2018-07-24 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue Jul 24 16:27:51 2018 New Revision: 337867 URL: http://llvm.org/viewvc/llvm-project?rev=337867&view=rev Log: [CMake] Option to control whether shared/static library is installed Currently it's only possible to control whether shared or static library build of libc++, libc+

[libunwind] r337868 - [CMake] Include CMakeDependentOption in libunwind

2018-07-24 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue Jul 24 16:42:51 2018 New Revision: 337868 URL: http://llvm.org/viewvc/llvm-project?rev=337868&view=rev Log: [CMake] Include CMakeDependentOption in libunwind This should resolve the breakage introduced in r337867 which introduced the use of cmake_dependent_option without

r337877 - [CMake] Link static libunwind and libc++abi into libc++ in Fuchsia toolchain

2018-07-24 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue Jul 24 18:44:22 2018 New Revision: 337877 URL: http://llvm.org/viewvc/llvm-project?rev=337877&view=rev Log: [CMake] Link static libunwind and libc++abi into libc++ in Fuchsia toolchain When building libc++ for Fuchsia, we want to distribute shared libc++, libc++abi and li

r337881 - [profile] Support profiling runtime on Fuchsia

2018-07-24 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue Jul 24 20:01:35 2018 New Revision: 337881 URL: http://llvm.org/viewvc/llvm-project?rev=337881&view=rev Log: [profile] Support profiling runtime on Fuchsia This ports the profiling runtime on Fuchsia and enables the instrumentation. Unlike on other platforms, Fuchsia doesn

[libcxxabi] r337937 - [CMake] Use LIBCXXABI_LIBDIR_SUFFIX in libc++abi build

2018-07-25 Thread Petr Hosek via cfe-commits
Author: phosek Date: Wed Jul 25 09:51:00 2018 New Revision: 337937 URL: http://llvm.org/viewvc/llvm-project?rev=337937&view=rev Log: [CMake] Use LIBCXXABI_LIBDIR_SUFFIX in libc++abi build This was changed unintentionally in r335809. Differential Revision: https://reviews.llvm.org/D49765 Modifie

[libcxx] r337979 - [CMake] Don't install c++abi headers in standalone libc++ build

2018-07-25 Thread Petr Hosek via cfe-commits
Author: phosek Date: Wed Jul 25 15:57:39 2018 New Revision: 337979 URL: http://llvm.org/viewvc/llvm-project?rev=337979&view=rev Log: [CMake] Don't install c++abi headers in standalone libc++ build This is a refinement on r337833. Previously we were installing two copies of c++abi headers in libc+

[libcxx] r338006 - [CMake] Don't generate linker script only when shared library isn't statically linked

2018-07-25 Thread Petr Hosek via cfe-commits
Author: phosek Date: Wed Jul 25 22:10:24 2018 New Revision: 338006 URL: http://llvm.org/viewvc/llvm-project?rev=338006&view=rev Log: [CMake] Don't generate linker script only when shared library isn't statically linked Since r337668, we support statically linking dependencies only to shared or s

r338482 - [OpenEmbedded] Explicitly specify -rtlib in tests

2018-07-31 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue Jul 31 20:30:06 2018 New Revision: 338482 URL: http://llvm.org/viewvc/llvm-project?rev=338482&view=rev Log: [OpenEmbedded] Explicitly specify -rtlib in tests Tests added in r338294 implicitly assume that libgcc is the runtime library, but that's not the case when the user

[clang-tools-extra] r325381 - [clang-include-fixer] Use add_clang_tool instead add_clang_executable

2018-02-16 Thread Petr Hosek via cfe-commits
Author: phosek Date: Fri Feb 16 12:25:45 2018 New Revision: 325381 URL: http://llvm.org/viewvc/llvm-project?rev=325381&view=rev Log: [clang-include-fixer] Use add_clang_tool instead add_clang_executable This makes it possible to include clang-include-fixer as distribution component when building

r325665 - [Fuchsia] Include libClang and clang-include-fixer in the toolchain

2018-02-20 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue Feb 20 20:39:15 2018 New Revision: 325665 URL: http://llvm.org/viewvc/llvm-project?rev=325665&view=rev Log: [Fuchsia] Include libClang and clang-include-fixer in the toolchain libClang is used by other Clang based tools such as cquery while clang-include-fixer is generall

r325945 - [Driver] Make -fno-common default for Fuchsia

2018-02-23 Thread Petr Hosek via cfe-commits
Author: phosek Date: Fri Feb 23 12:10:14 2018 New Revision: 325945 URL: http://llvm.org/viewvc/llvm-project?rev=325945&view=rev Log: [Driver] Make -fno-common default for Fuchsia We never want to generate common symbols on Fuchsia. Differential Revision: https://reviews.llvm.org/D43545 Modified

r326151 - [Driver] Add SafeStack to a map of incompatible sanitizers

2018-02-26 Thread Petr Hosek via cfe-commits
Author: phosek Date: Mon Feb 26 16:01:26 2018 New Revision: 326151 URL: http://llvm.org/viewvc/llvm-project?rev=326151&view=rev Log: [Driver] Add SafeStack to a map of incompatible sanitizers This allows reporting an error when user tries to use SafeStack with incompatible sanitizers. Differenti

r304025 - [scan-build] Patch to scan-build tool to support "--target=" flag

2017-05-26 Thread Petr Hosek via cfe-commits
Author: phosek Date: Fri May 26 14:25:32 2017 New Revision: 304025 URL: http://llvm.org/viewvc/llvm-project?rev=304025&view=rev Log: [scan-build] Patch to scan-build tool to support "--target=" flag The scan-build script provided by clang can be used to detect defects in code in the compile time.

r305600 - [Driver] Do a PATH lookup if needed when using -no-canonical-prefixes

2017-06-16 Thread Petr Hosek via cfe-commits
Author: phosek Date: Fri Jun 16 17:40:18 2017 New Revision: 305600 URL: http://llvm.org/viewvc/llvm-project?rev=305600&view=rev Log: [Driver] Do a PATH lookup if needed when using -no-canonical-prefixes When -no-canonical-prefixes option is used and argv0 contains only a program name, we need to

r321314 - [scudo] Add -fsanitize=scudo option to Fuchsia

2017-12-21 Thread Petr Hosek via cfe-commits
Author: phosek Date: Thu Dec 21 14:04:31 2017 New Revision: 321314 URL: http://llvm.org/viewvc/llvm-project?rev=321314&view=rev Log: [scudo] Add -fsanitize=scudo option to Fuchsia Apparently the -fsanitize flag hadn't been added for Scudo upstream yet. Patch By: flowerhack Reviewers: cryptoad,

r321316 - [CMake][Fuchsia] Enable assertions

2017-12-21 Thread Petr Hosek via cfe-commits
Author: phosek Date: Thu Dec 21 14:10:27 2017 New Revision: 321316 URL: http://llvm.org/viewvc/llvm-project?rev=321316&view=rev Log: [CMake][Fuchsia] Enable assertions Enable assertions in both stages. Release+Asserts is fast enough. No need to let insanity through. Patch By: mcgrathr Reviewers

[libcxx] r322044 - [libcxx] Support the use of compiler-rt in lit tests

2018-01-08 Thread Petr Hosek via cfe-commits
Author: phosek Date: Mon Jan 8 15:36:53 2018 New Revision: 322044 URL: http://llvm.org/viewvc/llvm-project?rev=322044&view=rev Log: [libcxx] Support the use of compiler-rt in lit tests Don't link tests against libgcc when compiler-rt is being used. Differential Revision: https://reviews.llvm.or

r322154 - [Driver] Update default sanitizer blacklist location

2018-01-09 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue Jan 9 18:12:24 2018 New Revision: 322154 URL: http://llvm.org/viewvc/llvm-project?rev=322154&view=rev Log: [Driver] Update default sanitizer blacklist location This is related to moving the sanitizer blacklists to share/ subdirectory. Differential Revision: https://revi

r322155 - Revert "[Driver] Update default sanitizer blacklist location"

2018-01-09 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue Jan 9 18:24:09 2018 New Revision: 322155 URL: http://llvm.org/viewvc/llvm-project?rev=322155&view=rev Log: Revert "[Driver] Update default sanitizer blacklist location" This reverts commit r322154 because it broke sanitizer bots. Added: cfe/trunk/test/Driver/Inputs/

[libunwind] r322228 - [libunwind] Set up .arcconfig to point to new Diffusion UNW repository

2018-01-10 Thread Petr Hosek via cfe-commits
Author: phosek Date: Wed Jan 10 14:20:03 2018 New Revision: 38 URL: http://llvm.org/viewvc/llvm-project?rev=38&view=rev Log: [libunwind] Set up .arcconfig to point to new Diffusion UNW repository See http://lists.llvm.org/pipermail/cfe-dev/2017-November/056032.html for related discussion

r322233 - Reland "[Driver] Update default sanitizer blacklist location"

2018-01-10 Thread Petr Hosek via cfe-commits
Author: phosek Date: Wed Jan 10 14:59:00 2018 New Revision: 322233 URL: http://llvm.org/viewvc/llvm-project?rev=322233&view=rev Log: Reland "[Driver] Update default sanitizer blacklist location" This is related to moving the sanitizer blacklists to share/ subdirectory. Differential Revision: htt

r322242 - Revert "[Driver] Update default sanitizer blacklist location"

2018-01-10 Thread Petr Hosek via cfe-commits
Author: phosek Date: Wed Jan 10 16:12:02 2018 New Revision: 322242 URL: http://llvm.org/viewvc/llvm-project?rev=322242&view=rev Log: Revert "[Driver] Update default sanitizer blacklist location" This reverts commit r322233: this is breaking dfsan tests. Added: cfe/trunk/test/Driver/Inputs/re

r322252 - [Fuchsia] Use llvm-objcopy as objcopy on non-Darwin hosts

2018-01-10 Thread Petr Hosek via cfe-commits
Author: phosek Date: Wed Jan 10 20:17:57 2018 New Revision: 322252 URL: http://llvm.org/viewvc/llvm-project?rev=322252&view=rev Log: [Fuchsia] Use llvm-objcopy as objcopy on non-Darwin hosts llvm-objcopy already supports all the necessary functionality for ELF. Differential Revision: https://rev

r322253 - [Fuchsia] Remove LLDB from the toolchain distribution

2018-01-10 Thread Petr Hosek via cfe-commits
Author: phosek Date: Wed Jan 10 20:25:30 2018 New Revision: 322253 URL: http://llvm.org/viewvc/llvm-project?rev=322253&view=rev Log: [Fuchsia] Remove LLDB from the toolchain distribution This is currently not being used so disable it to reduce toolchain size. Differential Revision: https://revie

r322258 - Reland "[Driver] Update default sanitizer blacklist location"

2018-01-10 Thread Petr Hosek via cfe-commits
Author: phosek Date: Wed Jan 10 22:42:12 2018 New Revision: 322258 URL: http://llvm.org/viewvc/llvm-project?rev=322258&view=rev Log: Reland "[Driver] Update default sanitizer blacklist location" This is related to moving the sanitizer blacklists to share/ subdirectory. Differential Revision: htt

r322260 - Revert "[Driver] Update default sanitizer blacklist location"

2018-01-10 Thread Petr Hosek via cfe-commits
Author: phosek Date: Wed Jan 10 23:05:38 2018 New Revision: 322260 URL: http://llvm.org/viewvc/llvm-project?rev=322260&view=rev Log: Revert "[Driver] Update default sanitizer blacklist location" This reverts commit r322258: broke the dfsan build. Added: cfe/trunk/test/Driver/Inputs/resource_

r326542 - [Frontend] Avoid including default system header paths on Fuchsia

2018-03-01 Thread Petr Hosek via cfe-commits
Author: phosek Date: Thu Mar 1 23:19:42 2018 New Revision: 326542 URL: http://llvm.org/viewvc/llvm-project?rev=326542&view=rev Log: [Frontend] Avoid including default system header paths on Fuchsia These paths aren't used and don't make sense on Fuchsia. Differential Revision: https://reviews.l

r326860 - [Driver] Automatically disable incompatible default sanitizers

2018-03-06 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue Mar 6 17:27:03 2018 New Revision: 326860 URL: http://llvm.org/viewvc/llvm-project?rev=326860&view=rev Log: [Driver] Automatically disable incompatible default sanitizers When a sanitizer incompatible with one of the default sanitizers is explicitly enabled, automatically

r326867 - [Driver] Enable SafeStack by default on Fuchsia

2018-03-06 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue Mar 6 18:49:58 2018 New Revision: 326867 URL: http://llvm.org/viewvc/llvm-project?rev=326867&view=rev Log: [Driver] Enable SafeStack by default on Fuchsia This is already used throughout the entire system, so make it a default. Differential Revision: https://reviews.llv

[libcxx] r327194 - [CMake] Copy the generated __config header into build directory

2018-03-09 Thread Petr Hosek via cfe-commits
Author: phosek Date: Fri Mar 9 17:20:11 2018 New Revision: 327194 URL: http://llvm.org/viewvc/llvm-project?rev=327194&view=rev Log: [CMake] Copy the generated __config header into build directory When the generated __config file is being used, it is currently only copied during installation proc

r327249 - [Driver] Update the comment about incompatible sanitizers

2018-03-11 Thread Petr Hosek via cfe-commits
Author: phosek Date: Sun Mar 11 17:23:37 2018 New Revision: 327249 URL: http://llvm.org/viewvc/llvm-project?rev=327249&view=rev Log: [Driver] Update the comment about incompatible sanitizers Differential Revision: https://reviews.llvm.org/D44371 Modified: cfe/trunk/lib/Driver/SanitizerArgs.c

r327860 - [CMake] Use libc++ and compiler-rt as default libraries in Fuchsia toolchain

2018-03-19 Thread Petr Hosek via cfe-commits
Author: phosek Date: Mon Mar 19 08:19:19 2018 New Revision: 327860 URL: http://llvm.org/viewvc/llvm-project?rev=327860&view=rev Log: [CMake] Use libc++ and compiler-rt as default libraries in Fuchsia toolchain Fuchsia already defaults to libc++ and compiler-rt, but we want to use these as default

r327932 - Allow builtins for Cross-DSO CFI on Android

2018-03-19 Thread Petr Hosek via cfe-commits
Author: phosek Date: Mon Mar 19 17:56:08 2018 New Revision: 327932 URL: http://llvm.org/viewvc/llvm-project?rev=327932&view=rev Log: Allow builtins for Cross-DSO CFI on Android This is needed to avoid the test failure in case when compiler-rt is set as the default runtime library for Clang. Diff

r333979 - [Driver][Fuchsia] Pass LTO flags to linker

2018-06-04 Thread Petr Hosek via cfe-commits
Author: phosek Date: Mon Jun 4 18:50:59 2018 New Revision: 333979 URL: http://llvm.org/viewvc/llvm-project?rev=333979&view=rev Log: [Driver][Fuchsia] Pass LTO flags to linker Even though we use lld by default for Fuchsia, we use Gold plugin arguments like all other drivers as lld supports Gold p

r334063 - [Fuchsia] Include install-distribution-stripped in bootstrap targets

2018-06-05 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue Jun 5 22:18:39 2018 New Revision: 334063 URL: http://llvm.org/viewvc/llvm-project?rev=334063&view=rev Log: [Fuchsia] Include install-distribution-stripped in bootstrap targets This enables the use of install-distribution-stripped target in the 2-stage builds. Differenti

r334437 - [CMake] Allow specifying extra dependencies of bootstrap stage

2018-06-11 Thread Petr Hosek via cfe-commits
Author: phosek Date: Mon Jun 11 13:59:31 2018 New Revision: 334437 URL: http://llvm.org/viewvc/llvm-project?rev=334437&view=rev Log: [CMake] Allow specifying extra dependencies of bootstrap stage This allows adding additional bootstrap dependencies to the bootstrap compiler that may be needed by

r334445 - [CMake] Use libc++ and compiler-rt for bootstrap Fuchsia Clang

2018-06-11 Thread Petr Hosek via cfe-commits
Author: phosek Date: Mon Jun 11 15:06:44 2018 New Revision: 334445 URL: http://llvm.org/viewvc/llvm-project?rev=334445&view=rev Log: [CMake] Use libc++ and compiler-rt for bootstrap Fuchsia Clang We want to build the second stage compiler with libc++ and compiler-rt, also include builtins and run

[libcxx] r334468 - Reland "Use custom command and target to install libc++ headers"

2018-06-11 Thread Petr Hosek via cfe-commits
Author: phosek Date: Mon Jun 11 20:10:02 2018 New Revision: 334468 URL: http://llvm.org/viewvc/llvm-project?rev=334468&view=rev Log: Reland "Use custom command and target to install libc++ headers" Using file(COPY FILE...) has several downsides. Since the file command is only executed at configur

[libcxx] r334470 - [CMake] Add a missing target dependency on C++ ABI headers

2018-06-11 Thread Petr Hosek via cfe-commits
Author: phosek Date: Mon Jun 11 20:31:03 2018 New Revision: 334470 URL: http://llvm.org/viewvc/llvm-project?rev=334470&view=rev Log: [CMake] Add a missing target dependency on C++ ABI headers This resolves the breakage introduced in r334468 which results in build error when using CMake Makefile g

[libcxx] r334477 - [CMake] Use common variable for all header targets NFC

2018-06-12 Thread Petr Hosek via cfe-commits
Author: phosek Date: Mon Jun 11 23:58:06 2018 New Revision: 334477 URL: http://llvm.org/viewvc/llvm-project?rev=334477&view=rev Log: [CMake] Use common variable for all header targets NFC This simplifies the handling of header targets. Modified: libcxx/trunk/cmake/Modules/HandleLibCXXABI.cma

r334531 - [AArch64] Support reserving x20 register

2018-06-12 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue Jun 12 13:00:50 2018 New Revision: 334531 URL: http://llvm.org/viewvc/llvm-project?rev=334531&view=rev Log: [AArch64] Support reserving x20 register Register x20 is a callee-saved register which may be used for other purposes in certain contexts, for example to hold speci

r335410 - [Fuchsia] Enable static libc++, libc++abi, libunwind

2018-06-22 Thread Petr Hosek via cfe-commits
Author: phosek Date: Fri Jun 22 20:15:07 2018 New Revision: 335410 URL: http://llvm.org/viewvc/llvm-project?rev=335410&view=rev Log: [Fuchsia] Enable static libc++, libc++abi, libunwind This is needed for building Fuchsia drivers. Differential Revision: https://reviews.llvm.org/D48208 Modified:

r344556 - [Driver] Support direct split DWARF emission for Fuchsia

2018-10-15 Thread Petr Hosek via cfe-commits
Author: phosek Date: Mon Oct 15 14:30:32 2018 New Revision: 344556 URL: http://llvm.org/viewvc/llvm-project?rev=344556&view=rev Log: [Driver] Support direct split DWARF emission for Fuchsia This enables the driver support for direct split DWARF emission for Fuchsia in addition to Linux. Differen

r345537 - [Driver] Support sanitized libraries on Fuchsia

2018-10-29 Thread Petr Hosek via cfe-commits
Author: phosek Date: Mon Oct 29 13:37:52 2018 New Revision: 345537 URL: http://llvm.org/viewvc/llvm-project?rev=345537&view=rev Log: [Driver] Support sanitized libraries on Fuchsia When using sanitizers, add //lib/ to the list of library paths to support using sanitized version of runtime librari

r345540 - [Driver] Include missing touch files for sanitized library paths

2018-10-29 Thread Petr Hosek via cfe-commits
Author: phosek Date: Mon Oct 29 14:04:12 2018 New Revision: 345540 URL: http://llvm.org/viewvc/llvm-project?rev=345540&view=rev Log: [Driver] Include missing touch files for sanitized library paths These were forgotten in r345537 causing test failures on Clang builders. Differential Revision: ht

r345552 - [CMake][Fuchsia] Drop the LIBCXX_HIDE_FROM_ABI_PER_TU_BY_DEFAULT

2018-10-29 Thread Petr Hosek via cfe-commits
Author: phosek Date: Mon Oct 29 16:10:49 2018 New Revision: 345552 URL: http://llvm.org/viewvc/llvm-project?rev=345552&view=rev Log: [CMake][Fuchsia] Drop the LIBCXX_HIDE_FROM_ABI_PER_TU_BY_DEFAULT Now that libc++ uses __exclude_from_explicit_instantiation__ attribute, this is no longer needed.

r351145 - [CMake][Fuchsia] Synchronize first and second stage builds

2019-01-14 Thread Petr Hosek via cfe-commits
Author: phosek Date: Mon Jan 14 17:15:00 2019 New Revision: 351145 URL: http://llvm.org/viewvc/llvm-project?rev=351145&view=rev Log: [CMake][Fuchsia] Synchronize first and second stage builds This reorders options between the first and second stage builds to make them better lined up. The change

r351415 - [CMake][Fuchsia] Disable modules for the second stage build

2019-01-16 Thread Petr Hosek via cfe-commits
Author: phosek Date: Wed Jan 16 20:12:30 2019 New Revision: 351415 URL: http://llvm.org/viewvc/llvm-project?rev=351415&view=rev Log: [CMake][Fuchsia] Disable modules for the second stage build This made the toolchain build 50% slower. Differential Revision: https://reviews.llvm.org/D56825 Modif

r351709 - [CMake][Fuchsia] Drop -DNDEBUG, re-enable modules

2019-01-20 Thread Petr Hosek via cfe-commits
Author: phosek Date: Sun Jan 20 17:06:50 2019 New Revision: 351709 URL: http://llvm.org/viewvc/llvm-project?rev=351709&view=rev Log: [CMake][Fuchsia] Drop -DNDEBUG, re-enable modules -DNDEBUG is no longer needed now that we don't enable assertions, modules should improve build times for the secon

r351710 - [Driver] Don't pass default value to getCompilerRTArgString

2019-01-20 Thread Petr Hosek via cfe-commits
Author: phosek Date: Sun Jan 20 17:34:09 2019 New Revision: 351710 URL: http://llvm.org/viewvc/llvm-project?rev=351710&view=rev Log: [Driver] Don't pass default value to getCompilerRTArgString Using static library is already a default. Differential Revision: https://reviews.llvm.org/D56043 Modi

[libunwind] r352016 - [libunwind] Don't abort if encoutering invalid .eh_frame_hdr

2019-01-23 Thread Petr Hosek via cfe-commits
Author: phosek Date: Wed Jan 23 19:04:42 2019 New Revision: 352016 URL: http://llvm.org/viewvc/llvm-project?rev=352016&view=rev Log: [libunwind] Don't abort if encoutering invalid .eh_frame_hdr Recent Linux kernel release has introduced a bug as part of the ORC rollout where the vDSO has a valid

r352018 - [CMake][Fuchsia] Enable hermetic static libc++abi for Fuchsia

2019-01-23 Thread Petr Hosek via cfe-commits
Author: phosek Date: Wed Jan 23 19:24:37 2019 New Revision: 352018 URL: http://llvm.org/viewvc/llvm-project?rev=352018&view=rev Log: [CMake][Fuchsia] Enable hermetic static libc++abi for Fuchsia Similarly to libc++, we want to use hermetic static libc++abi. Differential Revision: https://reviews

r352153 - Revert "[AArch64] Use LL for 64-bit intrinsic arguments"

2019-01-24 Thread Petr Hosek via cfe-commits
Author: phosek Date: Thu Jan 24 18:16:29 2019 New Revision: 352153 URL: http://llvm.org/viewvc/llvm-project?rev=352153&view=rev Log: Revert "[AArch64] Use LL for 64-bit intrinsic arguments" This reverts commit r351740: this broke on platforms where unsigned long long isn't the same as uint64_t wh

r352156 - [AArch64] Make the test for rsr and rsr64 stricter

2019-01-24 Thread Petr Hosek via cfe-commits
Author: phosek Date: Thu Jan 24 18:42:30 2019 New Revision: 352156 URL: http://llvm.org/viewvc/llvm-project?rev=352156&view=rev Log: [AArch64] Make the test for rsr and rsr64 stricter ACLE specifies that return type for rsr and rsr64 is uint32_t and uint64_t respectively. D56852 change the return

[libunwind] r352245 - [libunwind] Use placement new to avoid dependency C++ library

2019-01-25 Thread Petr Hosek via cfe-commits
Author: phosek Date: Fri Jan 25 13:39:46 2019 New Revision: 352245 URL: http://llvm.org/viewvc/llvm-project?rev=352245&view=rev Log: [libunwind] Use placement new to avoid dependency C++ library The rest of libunwind already uses placement new, these are the only places where non-placement new is

[libunwind] r352341 - [CMake] Use __libc_start_main rather than fopen when checking for C library

2019-01-27 Thread Petr Hosek via cfe-commits
Author: phosek Date: Sun Jan 27 20:12:54 2019 New Revision: 352341 URL: http://llvm.org/viewvc/llvm-project?rev=352341&view=rev Log: [CMake] Use __libc_start_main rather than fopen when checking for C library The check_library_exists CMake uses a custom symbol definition. This is a problem when c

[libunwind] r352384 - [libunwind] Drop the dependency on , add placement new inline

2019-01-28 Thread Petr Hosek via cfe-commits
Author: phosek Date: Mon Jan 28 08:44:56 2019 New Revision: 352384 URL: http://llvm.org/viewvc/llvm-project?rev=352384&view=rev Log: [libunwind] Drop the dependency on , add placement new inline We haven't eliminated C++ library dependency altogether in D57251, UnwindCursor.hpp had an unused depe

[libunwind] r352411 - Revert "[CMake] Use __libc_start_main rather than fopen when checking for C library"

2019-01-28 Thread Petr Hosek via cfe-commits
Author: phosek Date: Mon Jan 28 11:26:41 2019 New Revision: 352411 URL: http://llvm.org/viewvc/llvm-project?rev=352411&view=rev Log: Revert "[CMake] Use __libc_start_main rather than fopen when checking for C library" This reverts commit r352341: it broke the build on macOS which doesn't seem to

[libunwind] r352427 - Revert "[libunwind] Drop the dependency on , add placement new inline"

2019-01-28 Thread Petr Hosek via cfe-commits
Author: phosek Date: Mon Jan 28 12:55:12 2019 New Revision: 352427 URL: http://llvm.org/viewvc/llvm-project?rev=352427&view=rev Log: Revert "[libunwind] Drop the dependency on , add placement new inline" This reverts commit r352384: this broke on ARM as UnwindCursor.hpp still has some C++ librar

r352449 - [CMake][Fuchsia] Temporarily disable modules for second stage

2019-01-28 Thread Petr Hosek via cfe-commits
Author: phosek Date: Mon Jan 28 19:38:26 2019 New Revision: 352449 URL: http://llvm.org/viewvc/llvm-project?rev=352449&view=rev Log: [CMake][Fuchsia] Temporarily disable modules for second stage This is breaking some of builders, disable modules until it's resolved. Modified: cfe/trunk/cmake

[libunwind] r352553 - Drop the dependency on , add placement new inline

2019-01-29 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue Jan 29 14:26:18 2019 New Revision: 352553 URL: http://llvm.org/viewvc/llvm-project?rev=352553&view=rev Log: Drop the dependency on , add placement new inline We haven't eliminated C++ library dependency altogether in D57251, UnwindCursor.hpp had an unused dependency on w

[libunwind] r352559 - [libunwind] Support building hermetic static library

2019-01-29 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue Jan 29 15:01:08 2019 New Revision: 352559 URL: http://llvm.org/viewvc/llvm-project?rev=352559&view=rev Log: [libunwind] Support building hermetic static library This is useful when the static libunwind library is being linked into shared libraries that may be used in with

r352584 - [CMake][Fuchsia] Enable hermetic static libunwind for Fuchsia

2019-01-29 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue Jan 29 18:02:25 2019 New Revision: 352584 URL: http://llvm.org/viewvc/llvm-project?rev=352584&view=rev Log: [CMake][Fuchsia] Enable hermetic static libunwind for Fuchsia In addition to libc++abi and libc++, we also want to use hermetic static libunwind on Fuchsia. Differ

r352586 - [CMake][Fuchsia] Re-enable iOS runtimes for Fuchsia standard

2019-01-29 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue Jan 29 18:06:06 2019 New Revision: 352586 URL: http://llvm.org/viewvc/llvm-project?rev=352586&view=rev Log: [CMake][Fuchsia] Re-enable iOS runtimes for Fuchsia standard Turned out this is used by Flutter which uses Fuchsia Clang toolchain. Differential Revision: https://

[libunwind] r352654 - [CMake] Use correct visibility for linked libraries in CMake

2019-01-30 Thread Petr Hosek via cfe-commits
Author: phosek Date: Wed Jan 30 11:27:26 2019 New Revision: 352654 URL: http://llvm.org/viewvc/llvm-project?rev=352654&view=rev Log: [CMake] Use correct visibility for linked libraries in CMake When linking library dependencies, we shouldn't need to export linked libraries to dependents. We shoul

[libunwind] r352658 - Revert "[CMake] Use correct visibility for linked libraries in CMake"

2019-01-30 Thread Petr Hosek via cfe-commits
Author: phosek Date: Wed Jan 30 11:51:18 2019 New Revision: 352658 URL: http://llvm.org/viewvc/llvm-project?rev=352658&view=rev Log: Revert "[CMake] Use correct visibility for linked libraries in CMake" This reverts commit r352654: this broke libcxx and sanitizer bots. Modified: libunwind/tr

[libunwind] r352688 - [CMake] Use correct visibility for linked libraries in CMake

2019-01-30 Thread Petr Hosek via cfe-commits
Author: phosek Date: Wed Jan 30 15:18:05 2019 New Revision: 352688 URL: http://llvm.org/viewvc/llvm-project?rev=352688&view=rev Log: [CMake] Use correct visibility for linked libraries in CMake When linking library dependencies, we shouldn't need to export linked libraries to dependents. We shoul

r352729 - [CMake] Unify scripts for generating VCS headers

2019-01-30 Thread Petr Hosek via cfe-commits
Author: phosek Date: Wed Jan 30 22:21:01 2019 New Revision: 352729 URL: http://llvm.org/viewvc/llvm-project?rev=352729&view=rev Log: [CMake] Unify scripts for generating VCS headers Previously, there were two different scripts for generating VCS headers: one used by LLVM and one used by Clang. Th

r352733 - Revert "[CMake] Unify scripts for generating VCS headers"

2019-01-30 Thread Petr Hosek via cfe-commits
Author: phosek Date: Wed Jan 30 23:12:43 2019 New Revision: 352733 URL: http://llvm.org/viewvc/llvm-project?rev=352733&view=rev Log: Revert "[CMake] Unify scripts for generating VCS headers" This reverts commits r352729 and r352731: this broke Sanitizer Windows bots Modified: cfe/trunk/lib/B

r345889 - [CMake][Fuchsia] Don't restrict Linux runtimes to UNIX

2018-11-01 Thread Petr Hosek via cfe-commits
Author: phosek Date: Thu Nov 1 13:36:33 2018 New Revision: 345889 URL: http://llvm.org/viewvc/llvm-project?rev=345889&view=rev Log: [CMake][Fuchsia] Don't restrict Linux runtimes to UNIX This allows building Linux runtimes on any platform if the correct sysroot is provided via CMake option. Dif

Re: r345562 - PR23833, DR2140: an lvalue-to-rvalue conversion on a glvalue of type

2018-11-01 Thread Petr Hosek via cfe-commits
This is triggering an assertion failure in our build, I've filed PR39528 which also has a reproducer. On Mon, Oct 29, 2018 at 7:04 PM Richard Smith via cfe-commits wrote: > > Author: rsmith > Date: Mon Oct 29 19:02:49 2018 > New Revision: 345562 > > URL: http://llvm.org/viewvc/llvm-project?rev=34

r346056 - [CMake][Fuchsia] Set -fuse-ld=lld explicitly for Linux runtimes

2018-11-02 Thread Petr Hosek via cfe-commits
Author: phosek Date: Fri Nov 2 16:49:36 2018 New Revision: 346056 URL: http://llvm.org/viewvc/llvm-project?rev=346056&view=rev Log: [CMake][Fuchsia] Set -fuse-ld=lld explicitly for Linux runtimes We set lld as the default linker on non-Darwin platforms, but we still need to set -fuse-ld=lld expl

r346064 - [Driver] Use -push-/-pop-state and -as-needed for libc++ on Fuchsia

2018-11-02 Thread Petr Hosek via cfe-commits
Author: phosek Date: Fri Nov 2 18:43:25 2018 New Revision: 346064 URL: http://llvm.org/viewvc/llvm-project?rev=346064&view=rev Log: [Driver] Use -push-/-pop-state and -as-needed for libc++ on Fuchsia This avoids introducing unnecessary DT_NEEDED entries when using C++ driver for linking C code o

r346088 - [Driver] Always match resource dir in Fuchsia driver tests

2018-11-03 Thread Petr Hosek via cfe-commits
Author: phosek Date: Sat Nov 3 20:53:07 2018 New Revision: 346088 URL: http://llvm.org/viewvc/llvm-project?rev=346088&view=rev Log: [Driver] Always match resource dir in Fuchsia driver tests This makes the tests stricter by not only matching the runtime file name, but the entire path into the re

  1   2   3   4   5   6   7   8   9   10   >