diff options
author | Daniel Sanders <daniel_l_sanders@apple.com> | 2019-08-01 23:44:42 +0000 |
---|---|---|
committer | Daniel Sanders <daniel_l_sanders@apple.com> | 2019-08-01 23:44:42 +0000 |
commit | 1055a11d1bc70f80e78adba816626668941136a4 (patch) | |
tree | 1bbc2c7fa1b56490969b364d90635af2c435cbfe /lldb/source/Commands/CommandObjectExpression.cpp | |
parent | f93d162e335320c5c33f7ae9f6cc94cce2494f6d (diff) | |
download | bcm5719-llvm-1055a11d1bc70f80e78adba816626668941136a4.tar.gz bcm5719-llvm-1055a11d1bc70f80e78adba816626668941136a4.zip |
Prevent vregs leaking into the MC layer via TargetRegisterClass::contains()
Summary:
The MC layer doesn't expect to deal with vregs but
TargetRegisterClass::contains() forwards into MCRegisterClass::contains()
and this can cause vregs to turn up in the MC layer APIs. Add guards
against this to prevent this becoming a problem as we replace unsigned
with a new MCRegister object for improved type safety.
Reviewers: arsenm
Subscribers: wdng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65554
llvm-svn: 367636
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
0 files changed, 0 insertions, 0 deletions