diff options
| -rw-r--r-- | lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp b/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp index 842bd99e443..2dd04dd8733 100644 --- a/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp +++ b/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp @@ -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; } |

