HomePhabricator

[lldb] Make comparing RegisterInfo::[alt_]name's pointer value less footy-shooty

Authored by teemperor on Feb 19 2020, 2:27 AM.

Description

[lldb] Make comparing RegisterInfo::[alt_]name's pointer value less footy-shooty

Comparing those two const char * values relies on the assumption that both
strings were created by a ConstString. Let's check that assumption with an
assert as otherwise this code silently does nothing and that's not great.

Details

Committed
teemperorFeb 19 2020, 4:19 AM
Parents
rG49b307e96d47: [AArch64][SVE] CodeGen of ACLE Builtin Types
Branches
Unknown
Tags
Unknown