llvm-project/llvm
Peter Collingbourne f0380bac5f Silence ubsan after r367926.
Fixes e.g.
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap-ubsan/builds/14273

We can't left shift here because left shifting of a negative number is UB.
The same doesn't apply to unsigned arithmetic, but switching to unsigned
doesn't appear to stop ubsan from complaining, so we need to mask out the
high bits.

llvm-svn: 367959
2019-08-06 00:21:30 +00:00
..
benchmarks
bindings
cmake NFC. Documenting Native tablegen dependency 2019-08-05 18:00:55 +00:00
docs [Attributor] Deduce the "no-return" attribute for functions 2019-08-05 23:22:05 +00:00
examples Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC 2019-08-05 05:43:48 +00:00
include [NFC] Remove useless static 2019-08-05 23:52:38 +00:00
lib Silence ubsan after r367926. 2019-08-06 00:21:30 +00:00
projects [libc++] Take 2: Integrate the PSTL into libc++ 2019-08-05 18:29:14 +00:00
resources
runtimes
test [Attributor] Deduce the "no-return" attribute for functions 2019-08-05 23:22:05 +00:00
tools [llvm-readelf] Support dumping of stack sizes sections with readelf --stack-sizes 2019-08-05 22:47:07 +00:00
unittests Fix build when both gtest death tests and LLVM_NODISCARD are available. 2019-08-05 18:12:50 +00:00
utils Robustify update_test_checks.py to non-autogened tests, and add a mode to skip non-autogenerated ones 2019-08-05 18:25:08 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt [build] Add the ability to create a symlink for lipo 2019-07-31 16:46:57 +00:00
CODE_OWNERS.TXT
CREDITS.TXT Update email address. 2019-07-17 07:02:02 +00:00
LICENSE.TXT
LLVMBuild.txt
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in

README.txt

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.