aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectCommands.cpp
diff options
context:
space:
mode:
authorAhmed Bougacha <ahmed@bougacha.org>2022-02-08 19:04:47 -0800
committerAhmed Bougacha <ahmed@bougacha.org>2022-02-14 11:27:35 -0800
commitc703f852c9dc7ec92b061889f86b531253f86d70 (patch)
tree4ffe487dd1064d9cd2ddcd52d8d28a753bb97857 /lldb/source/Commands/CommandObjectCommands.cpp
parentaa152743894b9d43cdb13147586e9aa551a37742 (diff)
downloadllvm-c703f852c9dc7ec92b061889f86b531253f86d70.zip
llvm-c703f852c9dc7ec92b061889f86b531253f86d70.tar.gz
llvm-c703f852c9dc7ec92b061889f86b531253f86d70.tar.bz2
[IR] Define "ptrauth" operand bundle.
This introduces a new "ptrauth" operand bundle to be used in call/invoke. At the IR level, it's semantically equivalent to an @llvm.ptrauth.auth followed by an indirect call, but it additionally provides additional hardening, by preventing the intermediate raw pointer from being exposed. This mostly adds the IR definition, verifier checks, and support in a couple of general helper functions. Clang IRGen and backend support will come separately. Note that we'll eventually want to support this bundle in indirectbr as well, for similar reasons. indirectbr currently doesn't support bundles at all, and the IR data structures need to be updated to allow that. Differential Revision: https://reviews.llvm.org/D113685
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
0 files changed, 0 insertions, 0 deletions