diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2019-01-14 19:09:15 +0000 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2019-01-14 19:09:15 +0000 |
commit | c7f215dbffa6e24beb1726762f348ca62beb6bd8 (patch) | |
tree | c6d4597ecca60741db66734cf7c815faed75000b /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | bfe2ee453a23201639178454b8816e70c396a1bd (diff) | |
download | bcm5719-llvm-c7f215dbffa6e24beb1726762f348ca62beb6bd8.tar.gz bcm5719-llvm-c7f215dbffa6e24beb1726762f348ca62beb6bd8.zip |
[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.
Reviewers: spatel, dneilson, craig.topper, dblaikie, hfinkel
Reviewed By: hfinkel
Subscribers: hfinkel, llvm-commits
Differential Revision: https://reviews.llvm.org/D54588
llvm-svn: 351104
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions