llvm-project/llvm
Roman Lebedev 6d0413fe23 [llvm][IRBuilder] Introspection for CreateAlignmentAssumption*() functions
Summary:
Clang calls these functions to produce IR for assume-aligned attributes.
I would like to teach UBSAN to verify these assumptions.
For that, i need to access the final pointer on which the check is performed,
and the actual `icmp` that does the check.

The alternative to this would be to fully re-implement this in clang.

This is a second commit, the original one was r351104,
which was mass-reverted in r351159 because 2 compiler-rt tests were failing.

Reviewers: spatel, dneilson, craig.topper, dblaikie, hfinkel

Reviewed By: hfinkel

Subscribers: hfinkel, llvm-commits

Differential Revision: https://reviews.llvm.org/D54588

llvm-svn: 351176
2019-01-15 09:44:13 +00:00
..
benchmarks
bindings Revert "Fix go bindings for r350647: missed a function rename" 2019-01-10 01:51:54 +00:00
cmake [CMake] Export utility targets to the build/install tree depending on LLVM_BUILD/INSTALL_UTILS 2019-01-11 19:34:34 +00:00
docs Update GettingStarted guide to recommend that people use the new 2019-01-14 22:27:32 +00:00
examples Python compat - print statement 2019-01-03 14:11:33 +00:00
include [llvm][IRBuilder] Introspection for CreateAlignmentAssumption*() functions 2019-01-15 09:44:13 +00:00
lib [WebAssembly] Support multilibs for wasm32 and add a wasm OS that uses it 2019-01-15 06:58:13 +00:00
projects [pstl] Initial integration with LLVM's CMake 2018-12-21 15:59:04 +00:00
resources
runtimes
test [llvm-objcopy] [COFF] Implement --strip-all[-gnu] for symbols 2019-01-15 09:34:55 +00:00
tools [llvm-objcopy] [COFF] Implement --strip-all[-gnu] for symbols 2019-01-15 09:34:55 +00:00
unittests [WebAssembly] Support multilibs for wasm32 and add a wasm OS that uses it 2019-01-15 06:58:13 +00:00
utils gn build: Rename llvm_host_triple to llvm_current_triple and have it use current_{cpu,os}. 2019-01-15 08:20:29 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitattributes
.gitignore Git ignore CLion project configuration files. NFC 2019-01-02 19:58:07 +00:00
CMakeLists.txt [CMake] Add libunwind when 'all' is being passed as LLVM_ENABLE_PROJECTS 2018-12-20 18:39:47 +00:00
CODE_OWNERS.TXT [llvm-mca] Move llvm-mca library to llvm/lib/MCA. 2018-12-17 08:08:31 +00:00
CREDITS.TXT
LICENSE.TXT
LLVMBuild.txt
README.txt
RELEASE_TESTERS.TXT Update the list of platforms & archs 2018-12-16 14:47:16 +00:00
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.