1. [compiler-rt] Remove some cpplint filters (details)
  2. [compiler-rt] cpplint of inc files in background (details)
  3. [clang-tidy] Fix build with -DBUILD_SHARED_LIB=ON (details)
  4. Make SwitchInstProfUpdateWrapper strict permanently (details)
  5. [WebAssembly] Add -fwasm-exceptions for wasm EH (details)
  6. [LegalizeTypes] Remove code for softening a float type to itself. (details)
  7. [WebAssembly] Add REQUIRES to test (details)
  8. [WebAssembly] Make wasm-eh.cpp requires WebAssembly (details)
  9. [WebAssembly] Delete duplicate REQUIRES line (details)
Commit d2af368aee56abf77f4a6ca3fd57ebdb697c48f2 by Vitaly Buka
[compiler-rt] Remove some cpplint filters
llvm-svn: 371704
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_flag_parser.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cpp
The file was modifiedcompiler-rt/lib/asan/asan_thread.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_suppressions_test.cpp
The file was modifiedcompiler-rt/lib/asan/asan_report.cpp
The file was modifiedcompiler-rt/lib/asan/asan_rtems.cpp
The file was modifiedcompiler-rt/lib/asan/asan_scariness_score.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_libc.cpp
The file was modifiedcompiler-rt/lib/interception/interception_win.cpp
The file was modifiedcompiler-rt/include/fuzzer/FuzzedDataProvider.h
The file was modifiedcompiler-rt/lib/lsan/lsan_common.cpp
The file was modifiedcompiler-rt/test/asan/TestCases/scariness_score_test.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_flag_parser.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_symbolizer_report.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_interceptors_ioctl_netbsd.inc
The file was modifiedcompiler-rt/lib/dfsan/dfsan_custom.cpp
The file was modifiedcompiler-rt/lib/msan/msan.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
The file was modifiedcompiler-rt/lib/sanitizer_common/scripts/check_lint.sh
The file was modifiedcompiler-rt/lib/asan/asan_malloc_win.cpp
The file was modifiedcompiler-rt/lib/dfsan/dfsan.h
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_printf_test.cpp
Commit 23bbeb52f392d88bf0d0527392a7a11561ee09c0 by Vitaly Buka
[compiler-rt] cpplint of inc files in background
llvm-svn: 371705
The file was modifiedcompiler-rt/lib/sanitizer_common/scripts/check_lint.sh
Commit 4f0245fd98bca1dd0797c4e2aad83dbab1b9fccc by aheejin
[clang-tidy] Fix build with -DBUILD_SHARED_LIB=ON
Summary: This fixes build failures with `-DBUILD_SHARED_LIB=ON` after
Reviewers: NoQ
Subscribers: mgorny, xazax.hun, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67473
llvm-svn: 371706
The file was modifiedclang-tools-extra/clang-tidy/CMakeLists.txt
Commit bdfe84ad110fb386676955a24afd30f68b25b80b by yevgeny.rouban
Make SwitchInstProfUpdateWrapper strict permanently
We have been using -switch-inst-prof-update-wrapper-strict set to true
by default for some time. It is time to remove the safety stuff and make
SwitchInstProfUpdateWrapper intolerant to inconsistencies in !prof
branch_weights metadata of SwitchInst.
This patch gets rid of the Invalid state of SwitchInstProfUpdateWrapper
and the option
-switch-inst-prof-update-wrapper-strict. So there is only two states:
changed and unchanged.
Reviewers: davidx, nikic, eraman, reames, chandlerc Reviewed By: davidx
Differential Revision: https://reviews.llvm.org/D67435
llvm-svn: 371707
The file was modifiedllvm/lib/IR/Instructions.cpp
The file was modifiedllvm/include/llvm/IR/Instructions.h
Commit e8b2b8868d2192fefe2ddf6445e465e283c3ba2d by aheejin
[WebAssembly] Add -fwasm-exceptions for wasm EH
Summary: This adds `-fwasm-exceptions` (in similar fashion with
`-fdwarf-exceptions` or `-fsjlj-exceptions`) that turns on everything
with wasm exception handling from the frontend to the backend.
We currently have `-mexception-handling` in clang frontend, but this is
only about the architecture capability and does not turn on other
necessary options such as the exception model in the backend. (This can
be turned on with `llc -exception-model=wasm`, but llc is not invoked
separately as a command line tool, so this option has to be transferred
from clang.)
Turning on `-fwasm-exceptions` in clang also turns on
`-mexception-handling` if not specified, and will error out if
`-mno-exception-handling` is specified.
Reviewers: dschuff, tlively, sbc100
Subscribers: aprantl, jgravelle-google, sunfish, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67208
llvm-svn: 371708
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was modifiedclang/test/CodeGenCXX/wasm-eh.cpp
The file was modifiedclang/test/Driver/wasm-toolchain.c
The file was modifiedclang/lib/Driver/ToolChains/WebAssembly.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/CodeGen/CGException.cpp
The file was modifiedclang/include/clang/Basic/LangOptions.def
Commit b8dd07527568e869b4ccfbd8110eef93f196b515 by craig.topper
[LegalizeTypes] Remove code for softening a float type to itself.
This was previously used to turn fp128 operations into libcalls on X86.
This is now done through op legalization after r371672.
This restores much of this code to before r254653.
llvm-svn: 371709
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
Commit c167402183aafdfb0f985979431ebafc43f59acf by dave
[WebAssembly] Add REQUIRES to test
llvm-svn: 371710
The file was modifiedclang/test/CodeGenCXX/wasm-eh.cpp
Commit c4712fda7c6c27fae1ce2a1b0cc28ecbbdf5f53a by aheejin
[WebAssembly] Make wasm-eh.cpp requires WebAssembly
D67208 added a new test line to wasm-eh.cpp that invokes the LLVM
backend and this test fails on bots that don't have WebAssembly target.
This makes wasm-eh.cpp explicitly require WebAssembly so this will be
skipped on those targets.
llvm-svn: 371711
The file was modifiedclang/test/CodeGenCXX/wasm-eh.cpp
Commit 75f65fe8d316407c5dd7cd9bfdfc760203947aa1 by aheejin
[WebAssembly] Delete duplicate REQUIRES line
r371710 and r371711 committed the same line, so this deletes one of
llvm-svn: 371712
The file was modifiedclang/test/CodeGenCXX/wasm-eh.cpp