Lines Matching refs:log
12 #include "lldb/Core/Log.h"
305 lldb_private::Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_EXPRESSIONS));
307 if (log)
309 log->Printf("Made an allocation for argument %s", PrintValue(value).c_str());
310 log->Printf(" Data region : %llx", (unsigned long long)address);
311 log->Printf(" Ref region : %llx", (unsigned long long)data_address);
429 lldb_private::Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_EXPRESSIONS));
457 if (log)
458 log->Printf("Unsupported instruction: %s", PrintValue(ii).c_str());
484 if (log)
485 log->Printf("Unsupported ICmp predicate: %s", PrintValue(ii).c_str());
540 if (log)
541 log->Printf("Unsupported operand type: %s", PrintType(operand_type).c_str());
562 lldb_private::Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_EXPRESSIONS));
564 if (log)
573 log->Printf("Module as passed in to IRInterpreter::Interpret: \n\"%s\"", s.c_str());
610 if (log)
611 log->Printf("Interpreting %s", PrintValue(inst).c_str());
635 if (log)
636 log->Printf("getOpcode() returns %s, but instruction is not a BinaryOperator", inst->getOpcodeName());
650 if (log)
651 log->Printf("Couldn't evaluate %s", PrintValue(lhs).c_str());
659 if (log)
660 log->Printf("Couldn't evaluate %s", PrintValue(rhs).c_str());
720 if (log)
722 log->Printf("Interpreted a %s", inst->getOpcodeName());
723 log->Printf(" L : %s", frame.SummarizeValue(lhs).c_str());
724 log->Printf(" R : %s", frame.SummarizeValue(rhs).c_str());
725 log->Printf(" = : %s", frame.SummarizeValue(inst).c_str());
735 if (log)
736 log->Printf("getOpcode() returns Alloca, but instruction is not an AllocaInst");
744 if (log)
745 log->Printf("AllocaInsts are not handled if isArrayAllocation() is true");
763 if (log)
764 log->Printf("Couldn't allocate memory for an AllocaInst");
774 if (log)
775 log->Printf("Couldn't allocate the result pointer for an AllocaInst");
787 if (log)
788 log->Printf("Couldn't write the result pointer for an AllocaInst");
799 if (log)
801 log->Printf("Interpreted an AllocaInst");
802 log->Printf(" R : 0x%" PRIx64, R);
803 log->Printf(" P : 0x%" PRIx64, P);
814 if (log)
815 log->Printf("getOpcode() returns %s, but instruction is not a BitCastInst", cast_inst->getOpcodeName());
827 if (log)
828 log->Printf("Couldn't evaluate %s", PrintValue(source).c_str());
843 if (log)
844 log->Printf("getOpcode() returns %s, but instruction is not a BitCastInst", cast_inst->getOpcodeName());
856 if (log)
857 log->Printf("Couldn't evaluate %s", PrintValue(source).c_str());
876 if (log)
877 log->Printf("getOpcode() returns Br, but instruction is not a BranchInst");
891 if (log)
892 log->Printf("Couldn't evaluate %s", PrintValue(condition).c_str());
903 if (log)
905 log->Printf("Interpreted a BrInst with a condition");
906 log->Printf(" cond : %s", frame.SummarizeValue(condition).c_str());
913 if (log)
915 log->Printf("Interpreted a BrInst with no condition");
926 if (log)
927 log->Printf("getOpcode() returns GetElementPtr, but instruction is not a GetElementPtrInst");
940 if (log)
941 log->Printf("Couldn't evaluate %s", PrintValue(pointer_operand).c_str());
967 if (log)
968 log->Printf("Couldn't evaluate %s", PrintValue(*ii).c_str());
974 if (log)
975 log->Printf("Evaluated constant index %s as %llu", PrintValue(*ii).c_str(), I.ULongLong(LLDB_INVALID_ADDRESS));
989 if (log)
991 log->Printf("Interpreted a GetElementPtrInst");
992 log->Printf(" P : %s", frame.SummarizeValue(pointer_operand).c_str());
993 log->Printf(" Poffset : %s", frame.SummarizeValue(inst).c_str());
1003 if (log)
1004 log->Printf("getOpcode() returns ICmp, but instruction is not an ICmpInst");
1020 if (log)
1021 log->Printf("Couldn't evaluate %s", PrintValue(lhs).c_str());
1029 if (log)
1030 log->Printf("Couldn't evaluate %s", PrintValue(rhs).c_str());
1084 if (log)
1086 log->Printf("Interpreted an ICmpInst");
1087 log->Printf(" L : %s", frame.SummarizeValue(lhs).c_str());
1088 log->Printf(" R : %s", frame.SummarizeValue(rhs).c_str());
1089 log->Printf(" = : %s", frame.SummarizeValue(inst).c_str());
1099 if (log)
1100 log->Printf("getOpcode() returns IntToPtr, but instruction is not an IntToPtrInst");
1112 if (log)
1113 log->Printf("Couldn't evaluate %s", PrintValue(src_operand).c_str());
1121 if (log)
1123 log->Printf("Interpreted an IntToPtr");
1124 log->Printf(" Src : %s", frame.SummarizeValue(src_operand).c_str());
1125 log->Printf(" = : %s", frame.SummarizeValue(inst).c_str());
1135 if (log)
1136 log->Printf("getOpcode() returns PtrToInt, but instruction is not an PtrToIntInst");
1148 if (log)
1149 log->Printf("Couldn't evaluate %s", PrintValue(src_operand).c_str());
1157 if (log)
1159 log->Printf("Interpreted a PtrToInt");
1160 log->Printf(" Src : %s", frame.SummarizeValue(src_operand).c_str());
1161 log->Printf(" = : %s", frame.SummarizeValue(inst).c_str());
1171 if (log)
1172 log->Printf("getOpcode() returns Load, but instruction is not a LoadInst");
1190 if (log)
1191 log->Printf("getPointerOperand()->getType() is not a PointerType");
1203 if (log)
1204 log->Printf("LoadInst's value doesn't resolve to anything");
1212 if (log)
1213 log->Printf("LoadInst's pointer doesn't resolve to anything");
1225 if (log)
1226 log->Printf("Couldn't read the address to be loaded for a LoadInst");
1239 if (log)
1240 log->Printf("Couldn't read from a region on behalf of a LoadInst");
1250 if (log)
1251 log->Printf("Couldn't write to a region on behalf of a LoadInst");
1257 if (log)
1259 log->Printf("Interpreted a LoadInst");
1260 log->Printf(" P : 0x%" PRIx64, P);
1261 log->Printf(" R : 0x%" PRIx64, R);
1262 log->Printf(" D : 0x%" PRIx64, D);
1276 if (log)
1277 log->Printf("getOpcode() returns Store, but instruction is not a StoreInst");
1303 if (log)
1304 log->Printf("StoreInst's value doesn't resolve to anything");
1312 if (log)
1313 log
1325 if (log)
1326 log->Printf("Couldn't read the address to be loaded for a LoadInst");
1339 if (log)
1340 log->Printf("Couldn't read from a region on behalf of a StoreInst");
1350 if (log)
1351 log->Printf("Couldn't write to a region on behalf of a StoreInst");
1357 if (log)
1359 log->Printf("Interpreted a StoreInst");
1360 log->Printf(" D : 0x%" PRIx64, D);
1361 log->Printf(" P : 0x%" PRIx64, P);
1362 log->Printf(" R : 0x%" PRIx64, R);