llvm-project/llvm
Adrian Prantl 216002c4bb Fix UB in DwarfExpression::emitLegacyZExt()
A shift-left > 63 triggers a UBSAN failure. This patch kicks the can
down the road (to the consumer) by emitting a more compact
representation of the shift computation in DWARF expressions.

Differential Revision: https://reviews.llvm.org/D118183
2022-01-26 10:57:11 -08:00
..
benchmarks
bindings
cmake [cmake] Some NFC changes in preparation for accomodating `Ninja Multi-Config` 2022-01-25 11:46:44 -08:00
docs AMDGPU: Emit user sgpr count directives in text asm 2022-01-26 13:51:12 -05:00
examples [llvm] Use `GNUInstallDirs` to support custom installation dirs 2022-01-08 00:47:31 +00:00
include [DebugInfo] Add stringLocationExp field to DIStringType 2022-01-26 11:56:57 -05:00
lib Fix UB in DwarfExpression::emitLegacyZExt() 2022-01-26 10:57:11 -08:00
projects
resources
runtimes [CMake] Passthrough OSX CMake options to builtins and runtimes 2022-01-21 16:54:22 -08:00
test Fix UB in DwarfExpression::emitLegacyZExt() 2022-01-26 10:57:11 -08:00
tools Revert "Rename llvm::array_lengthof into llvm::size to match std::size from C++17" 2022-01-26 16:55:53 +01:00
unittests Revert "Rename llvm::array_lengthof into llvm::size to match std::size from C++17" 2022-01-26 16:55:53 +01:00
utils [gn build] Make HAVE_MALLINFO2 a gn arg, default to false 2022-01-26 10:28:55 -08:00
.clang-format
.clang-tidy
.gitattributes [split-file] Respect input file's line endings 2022-01-21 18:45:03 -06:00
.gitignore
CMakeLists.txt [CMake] Disable mvsc warning for new versions 2022-01-26 15:07:35 +01:00
CODE_OWNERS.TXT
CREDITS.TXT
LICENSE.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.