Skip to content

Commit b8dab9b

Browse files
committed
[lldb] Remove some debugging printfs from ITSession code
Summary: This seems only useful for debugging and it's just plainly printf'ing to the console instead of some log, so let's remove this. Reviewers: #lldb, JDevlieghere Reviewed By: JDevlieghere Subscribers: JDevlieghere Differential Revision: https://reviews.llvm.org/D76699
1 parent 26d4b55 commit b8dab9b

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -605,9 +605,6 @@ static uint32_t CountITSize(uint32_t ITMask) {
605605
// First count the trailing zeros of the IT mask.
606606
uint32_t TZ = llvm::countTrailingZeros(ITMask);
607607
if (TZ > 3) {
608-
#ifdef LLDB_CONFIGURATION_DEBUG
609-
printf("Encoding error: IT Mask '0000'\n");
610-
#endif
611608
return 0;
612609
}
613610
return (4 - TZ);
@@ -622,15 +619,9 @@ bool ITSession::InitIT(uint32_t bits7_0) {
622619
// A8.6.50 IT
623620
unsigned short FirstCond = Bits32(bits7_0, 7, 4);
624621
if (FirstCond == 0xF) {
625-
#ifdef LLDB_CONFIGURATION_DEBUG
626-
printf("Encoding error: IT FirstCond '1111'\n");
627-
#endif
628622
return false;
629623
}
630624
if (FirstCond == 0xE && ITCounter != 1) {
631-
#ifdef LLDB_CONFIGURATION_DEBUG
632-
printf("Encoding error: IT FirstCond '1110' && Mask != '1000'\n");
633-
#endif
634625
return false;
635626
}
636627

0 commit comments

Comments
 (0)