llvm-project/llvm
Florian Mayer 208b923e74 [HWASan] do not replace lifetime intrinsics with tagged address.
Quote from the LLVM Language Reference
  If ptr is a stack-allocated object and it points to the first byte of the
  object, the object is initially marked as dead. ptr is conservatively
  considered as a non-stack-allocated object if the stack coloring algorithm
  that is used in the optimization pipeline cannot conclude that ptr is a
  stack-allocated object.

By replacing the alloca pointer with the tagged address before this change,
we confused the stack coloring algorithm.

Reviewed By: eugenis

Differential Revision: https://reviews.llvm.org/D121835
2022-03-18 09:45:05 -07:00
..
benchmarks
bindings
cmake [Debuginfod] Check libcurl via CMake library. 2022-03-15 18:26:25 +00:00
docs [AMDGPU][DOC][NFC] Added links to MI200 documentation 2022-03-18 13:17:42 +03:00
examples
include [SCEV] Use constant ranges when determining reachable blocks (PR54434) 2022-03-18 12:04:35 +01:00
lib [HWASan] do not replace lifetime intrinsics with tagged address. 2022-03-18 09:45:05 -07:00
projects
resources
runtimes
test [HWASan] do not replace lifetime intrinsics with tagged address. 2022-03-18 09:45:05 -07:00
tools Reland "Load pass plugins during option processing, so that plugin options are registered and live." 2022-03-18 03:27:53 +00:00
unittests [MemorySSA] Don't optimize uses during construction 2022-03-18 09:56:16 +01:00
utils [ARM][AArch64] generate subtarget feature flags 2022-03-18 16:07:00 +00:00
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt Revert "Add a cmake flag to turn `llvm_unreachable()` into builtin_trap() when assertions are disabled" 2022-03-18 09:21:53 +01:00
CODE_OWNERS.TXT [CODE_OWNERS/CREDITS] Update my email address 2022-03-16 21:07:15 +00:00
CREDITS.TXT [CODE_OWNERS/CREDITS] Update my email address 2022-03-16 21:07:15 +00:00
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.