summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/CommandObject.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-04-07 21:20:06 +0000
committerBill Wendling <isanbard@gmail.com>2011-04-07 21:20:06 +0000
commitbc3f79044a055beace1e0010bb10d00cf82f7d0f (patch)
tree3bd5069cf5f5838dc839ba3321103a62c4e5177d /lldb/source/Interpreter/CommandObject.cpp
parentece7c9c2823dc78362e49a666dcd3e30d6b9fe1e (diff)
downloadbcm5719-llvm-bc3f79044a055beace1e0010bb10d00cf82f7d0f.tar.gz
bcm5719-llvm-bc3f79044a055beace1e0010bb10d00cf82f7d0f.zip
Replace the old algorithm that emitted the "print the alias for an instruction"
with the newer, cleaner model. It uses the IAPrinter class to hold the information that is needed to match an instruction with its alias. This also takes into account the available features of the platform. There is one bit of ugliness. The way the logic determines if a pattern is unique is O(N**2), which is gross. But in reality, the number of items it's checking against isn't large. So while it's N**2, it shouldn't be a massive time sink. llvm-svn: 129110
Diffstat (limited to 'lldb/source/Interpreter/CommandObject.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud