hanchenye-llvm-project/llvm
Yury Gribov 6ff0a66b09 [asan] Fix dynamic allocas unpoisoning on PowerPC64.
For PowerPC64 we cannot just pass SP extracted from @llvm.stackrestore to
_asan_allocas_unpoison due to specific ABI requirements
(http://refspecs.linuxfoundation.org/ELF/ppc64/PPC-elf64abi.html#DYNAM-STACK).
This patch adds the value returned by @llvm.get.dynamic.area.offset to
extracted from @llvm.stackrestore stack pointer, so dynamic allocas unpoisoning
stuff would work correctly on PowerPC64.

Patch by Max Ostapenko.

Differential Revision: http://reviews.llvm.org/D15108

llvm-svn: 254707
2015-12-04 09:19:14 +00:00
..
autoconf [autoconf] Fix MinGW build 2015-11-28 00:54:12 +00:00
bindings
cmake [CMake] Fixing bots 2015-12-03 22:55:36 +00:00
docs Revert "[llvm-profdata] Add support for weighted merge of profile data" 2015-12-04 02:13:58 +00:00
examples [Orc] Fix Kaleidoscope example for change in r254693. 2015-12-04 02:32:32 +00:00
include Move a call to getGlobalContext out of lib/LTO. 2015-12-04 02:42:28 +00:00
lib [asan] Fix dynamic allocas unpoisoning on PowerPC64. 2015-12-04 09:19:14 +00:00
projects
resources
test Revert "[llvm-profdata] Add support for weighted merge of profile data" 2015-12-04 02:13:58 +00:00
tools Move a call to getGlobalContext out of lib/LTO. 2015-12-04 02:42:28 +00:00
unittests [Orc] Rename JITCompileCallbackManagerBase to JITCompileCallbackManager. 2015-12-04 02:15:39 +00:00
utils [TableGen] Remove an assumption about the order of encodings in the MVT::SimpleValueType enum. Instead of assuming the types are sorted by size, scan the typeset arrays to find the smallest/largest type. NFC 2015-12-03 05:57:37 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt [CMake] Add option LLVM_EXTERNALIZE_DEBUGINFO 2015-12-03 18:45:39 +00:00
CODE_OWNERS.TXT Friendly takeover of the Hexagon backend 2015-12-03 17:07:12 +00:00
CREDITS.TXT
LICENSE.TXT
LLVMBuild.txt
Makefile
Makefile.common
Makefile.config.in
Makefile.rules
README.txt Test commit after password reset 2015-11-11 19:24:08 +00:00
configure [autoconf] Fix MinGW build 2015-11-28 00:54:12 +00:00
llvm.spec.in

README.txt

Low Level Virtual Machine (LLVM)
================================

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.