forked from OSchip/llvm-project
[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
This commit is contained in:
parent
26d4b5514a
commit
b8dab9b3d5
|
@ -605,9 +605,6 @@ static uint32_t CountITSize(uint32_t ITMask) {
|
|||
// First count the trailing zeros of the IT mask.
|
||||
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);
|
||||
|
@ -622,15 +619,9 @@ bool ITSession::InitIT(uint32_t bits7_0) {
|
|||
// A8.6.50 IT
|
||||
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