1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/utils
AnZhong Huang 547707945a [benchmark] Fixed a build error when using CMake 3.15.1 + NDK-R20
std::decay_t used by llvm/utils/benchmark/include/benchmark/benchmark.h
is a c++14 feature, but the CMakelist uses c++11,
it's the root-cause of build error.

There are two options to fix the error.
1) change the CMakelist to support c++14.
2) change std::decay_t to std::decay, it's what the patch done.

This bug can only be reproduced by CMake 3.15, we didn't observer the bug
with CMake 3.16. But based on the code's logic, it's an obvious bug of LLVM.

The upstream code is fine, the problem was introduced by
rG1bd6123b781120c9190b9ba58b900cdcb718cdd1.

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D93794
2020-12-28 11:24:56 +03:00
..
benchmark [benchmark] Fixed a build error when using CMake 3.15.1 + NDK-R20 2020-12-28 11:24:56 +03:00
bugpoint
count
crosstool
docker
emacs Revert "[IR] add fn attr for no_stack_protector; prevent inlining on mismatch" 2020-11-17 17:27:14 -08:00
FileCheck [FileCheck] Report missing prefixes when more than one is provided. 2020-10-30 12:39:29 -07:00
fpcmp
gdb-scripts Added GDB pretty printer for StringMap 2020-11-18 16:33:34 -08:00
git
gn clang: Build and run FrontendTests with CLANG_ENABLE_STATIC_ANALYZER=OFF too 2020-12-23 14:27:09 -05:00
jedit
kate Revert "[IR] add fn attr for no_stack_protector; prevent inlining on mismatch" 2020-11-17 17:27:14 -08:00
KillTheDoctor
lint
lit Re-land: [lit] Support running tests on Windows without GnuWin32 2020-12-10 21:41:54 -05:00
llvm-lit
llvm-locstats
LLVMVisualizers
Misc
not
PerfectShuffle
release Build reproducible tarballs for releases 2020-11-22 20:51:58 +01:00
Reviewing
sanitizers Add a ubsan blacklist entry for libstdc++ 8.0.1. 2018-11-21 23:04:39 +00:00
TableGen [TableGen] Use llvm::erase_if (NFC) 2020-12-26 12:06:26 -08:00
Target/ARM
testgen
textmate
unittest llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
UpdateTestChecks [NFC][utils] Factor remaining APIs under FunctionTestBuilder 2020-12-17 22:13:14 -08:00
valgrind
vim Revert "[IR] add fn attr for no_stack_protector; prevent inlining on mismatch" 2020-11-17 17:27:14 -08:00
vscode Revert "[IR] add fn attr for no_stack_protector; prevent inlining on mismatch" 2020-11-17 17:27:14 -08:00
yaml-bench
abtest.py
add_argument_names.py
bisect
bisect-skip-count
bugpoint_gisel_reducer.py
check_ninja_deps.py [utils] New script check_ninja_deps.py 2020-07-14 14:54:08 +01:00
check-each-file Added support for C++ compilation. 2004-02-26 23:02:25 +00:00
chunk-print-before-all.py
clang-parse-diagnostics-file
codegen-diff
collect_and_build_with_pgo.py docs: Add pointer to cmake caches for PGO 2020-12-07 15:55:26 -05:00
convert-constraint-log-to-z3.py
countloc.sh
create_ladder_graph.py
demangle_tree.py
DSAclean.py
DSAextract.py
extract_symbols.py
extract_vplan.py
findmisopt
findoptdiff
findsym.pl Fix a comment. 2006-08-09 19:40:13 +00:00
GenLibDeps.pl
GetSourceVersion
getsrcs.sh
indirect_calls.py
lldbDataFormatters.py Bring llvm::Optional data formatter back in sync with the implementation. 2020-08-26 15:10:39 -07:00
llvm-compilers-check [NFC] Chec[^k] -> Check 2020-12-08 11:54:39 +00:00
llvm-gisel-cov.py
llvm-native-gxx
llvm.grm Revert "[IR] add fn attr for no_stack_protector; prevent inlining on mismatch" 2020-11-17 17:27:14 -08:00
llvmdo
llvmgrep
merge-stats.py
prepare-code-coverage-artifact.py
remote-exec.py Added utility to launch tests on a target remotely. 2020-10-23 20:52:30 +04:00
schedcover.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00
shuffle_fuzz.py
shuffle_select_fuzz_tester.py
sort_includes.py
unicode-case-fold.py
update_analyze_test_checks.py [NFC] factor update test function test builder as a class 2020-12-16 21:12:06 -08:00
update_cc_test_checks.py [NFC] factor update test function test builder as a class 2020-12-16 21:12:06 -08:00
update_llc_test_checks.py [NFC] factor update test function test builder as a class 2020-12-16 21:12:06 -08:00
update_mca_test_checks.py
update_mir_test_checks.py [UpdateTestChecks] Change shebang from python to python3 2019-12-03 13:50:07 -08:00
update_test_checks.py [NFC] factor update test function test builder as a class 2020-12-16 21:12:06 -08:00
update_test_prefix.py [utils] Fix UpdateTestChecks case where 2 runs differ for last label 2020-12-15 07:16:54 -08:00
UpdateCMakeLists.pl
wciia.py