Fixed the instruction emulation so that it doesn't
print to standard output as part of normal operation. <rdar://problem/14247606> llvm-svn: 184797
This commit is contained in:
parent
e8d78249ad
commit
70c86e1781
|
|
@ -50,7 +50,9 @@ CountITSize (uint32_t ITMask) {
|
|||
uint32_t TZ = llvm::countTrailingZeros(ITMask);
|
||||
if (TZ > 3)
|
||||
{
|
||||
#ifdef LLDB_CONFIGURATION_DEBUG
|
||||
printf("Encoding error: IT Mask '0000'\n");
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
return (4 - TZ);
|
||||
|
|
@ -67,12 +69,16 @@ bool ITSession::InitIT(uint32_t bits7_0)
|
|||
unsigned short FirstCond = Bits32(bits7_0, 7, 4);
|
||||
if (FirstCond == 0xF)
|
||||
{
|
||||
#ifdef LLDB_CONFIGURATION_DEBUG
|
||||
printf("Encoding error: IT FirstCond '1111'\n");
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
if (FirstCond == 0xE && ITCounter != 1)
|
||||
{
|
||||
#ifdef LLDB_CONFIGURATION_DEBUG
|
||||
printf("Encoding error: IT FirstCond '1110' && Mask != '1000'\n");
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue