Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/156016
Bug: 5449033
Change-Id: Icceeacebb848533d7e9200e1c643b096d75b6e4a
diff --git a/lib/ExecutionEngine/Compiler.cpp b/lib/ExecutionEngine/Compiler.cpp
index 1e9bdb8..b0ba132 100644
--- a/lib/ExecutionEngine/Compiler.cpp
+++ b/lib/ExecutionEngine/Compiler.cpp
@@ -416,7 +416,7 @@
ExportVarName.str().c_str()));
varNameList.push_back(ExportVarName.str());
#if DEBUG_MCJIT_REFLECT
- LOGD("runMCCodeGen(): Exported Var: %s @ %p\n", ExportVarName.str().c_str(),
+ ALOGD("runMCCodeGen(): Exported Var: %s @ %p\n", ExportVarName.str().c_str(),
varList.back());
#endif
continue;
@@ -444,7 +444,7 @@
ExportFuncName.str().c_str()));
funcNameList.push_back(ExportFuncName.str());
#if DEBUG_MCJIT_RELECT
- LOGD("runMCCodeGen(): Exported Func: %s @ %p\n", ExportFuncName.str().c_str(),
+ ALOGD("runMCCodeGen(): Exported Func: %s @ %p\n", ExportFuncName.str().c_str(),
funcList.back());
#endif
}
@@ -496,7 +496,7 @@
std::string(PragmaValue.data(),
PragmaValue.size())));
#if DEBUG_BCC_REFLECT
- LOGD("compile(): Pragma: %s -> %s\n",
+ ALOGD("compile(): Pragma: %s -> %s\n",
pragmaList.back().first.c_str(),
pragmaList.back().second.c_str());
#endif
@@ -523,7 +523,7 @@
}
objectSlotList.push_back(USlot);
#if DEBUG_BCC_REFLECT
- LOGD("compile(): RefCount Slot: %s @ %u\n", Slot.str().c_str(), USlot);
+ ALOGD("compile(): RefCount Slot: %s @ %u\n", Slot.str().c_str(), USlot);
#endif
}
}
@@ -623,7 +623,7 @@
if (ExportVarName == I->first->getName()) {
varList.push_back(I->second);
#if DEBUG_BCC_REFLECT
- LOGD("runCodeGen(): Exported VAR: %s @ %p\n", ExportVarName.str().c_str(), I->second);
+ ALOGD("runCodeGen(): Exported VAR: %s @ %p\n", ExportVarName.str().c_str(), I->second);
#endif
break;
}
@@ -632,7 +632,7 @@
continue; // found
#if DEBUG_BCC_REFLECT
- LOGD("runCodeGen(): Exported VAR: %s @ %p\n",
+ ALOGD("runCodeGen(): Exported VAR: %s @ %p\n",
ExportVarName.str().c_str(), (void *)0);
#endif
}
@@ -658,7 +658,7 @@
static_cast<llvm::MDString*>(ExportFuncNameMDS)->getString();
funcList.push_back(mpResult->lookup(ExportFuncName.str().c_str()));
#if DEBUG_BCC_REFLECT
- LOGD("runCodeGen(): Exported Func: %s @ %p\n", ExportFuncName.str().c_str(),
+ ALOGD("runCodeGen(): Exported Func: %s @ %p\n", ExportFuncName.str().c_str(),
funcList.back());
#endif
}
diff --git a/lib/ExecutionEngine/MCCacheReader.cpp b/lib/ExecutionEngine/MCCacheReader.cpp
index 39e567f..e2f1cdb 100644
--- a/lib/ExecutionEngine/MCCacheReader.cpp
+++ b/lib/ExecutionEngine/MCCacheReader.cpp
@@ -352,7 +352,7 @@
mpResult->mpExportVars->cached_addr_list[i] =
rsloaderGetSymbolAddress(mpResult->mRSExecutable, strPool[export_var_name_list_raw->strp_indexs[i]]);
#if DEBUG_MCJIT_REFLECT
- LOGD("Get symbol address: %s -> %p",
+ ALOGD("Get symbol address: %s -> %p",
strPool[export_var_name_list_raw->strp_indexs[i]], mpResult->mpExportVars->cached_addr_list[i]);
#endif
}
@@ -376,7 +376,7 @@
mpResult->mpExportFuncs->cached_addr_list[i] =
rsloaderGetSymbolAddress(mpResult->mRSExecutable, strPool[export_func_name_list_raw->strp_indexs[i]]);
#if DEBUG_MCJIT_REFLECT
- LOGD("Get function address: %s -> %p",
+ ALOGD("Get function address: %s -> %p",
strPool[export_func_name_list_raw->strp_indexs[i]], mpResult->mpExportFuncs->cached_addr_list[i]);
#endif
}
@@ -434,7 +434,7 @@
LOGE("Read file Error");
return false;
}
- LOGD("Read object file size %d", (int)mEmittedELFExecutable.size());
+ ALOGD("Read object file size %d", (int)mEmittedELFExecutable.size());
mpResult->mRSExecutable =
rsloaderCreateExec((unsigned char *)&*mEmittedELFExecutable.begin(),
mEmittedELFExecutable.size(),
diff --git a/lib/ExecutionEngine/bcc.cpp b/lib/ExecutionEngine/bcc.cpp
index fc8b92b..2e118e3 100644
--- a/lib/ExecutionEngine/bcc.cpp
+++ b/lib/ExecutionEngine/bcc.cpp
@@ -149,7 +149,7 @@
void *addr = unwrap(script)->lookup(funcname);
#if DEBUG_BCC_REFLECT
- LOGD("Function Address: %s --> %p\n", funcname, addr);
+ ALOGD("Function Address: %s --> %p\n", funcname, addr);
#endif
return addr;
@@ -166,14 +166,14 @@
#if DEBUG_BCC_REFLECT
size_t count = unwrap(script)->getExportVarCount();
- LOGD("ExportVarCount = %lu\n", (unsigned long)count);
+ ALOGD("ExportVarCount = %lu\n", (unsigned long)count);
if (count > varListSize) {
count = varListSize;
}
for (size_t i = 0; i < count; ++i) {
- LOGD("ExportVarList[%lu] = %p\n", (unsigned long)i, varList[i]);
+ ALOGD("ExportVarList[%lu] = %p\n", (unsigned long)i, varList[i]);
}
#endif
}
@@ -190,14 +190,14 @@
#if DEBUG_BCC_REFLECT
size_t count = unwrap(script)->getExportFuncCount();
- LOGD("ExportFuncCount = %lu\n", (unsigned long)count);
+ ALOGD("ExportFuncCount = %lu\n", (unsigned long)count);
if (count > funcListSize) {
count = funcListSize;
}
for (size_t i = 0; i < count; ++i) {
- LOGD("ExportFuncList[%lu] = %p\n", (unsigned long)i, funcList[i]);
+ ALOGD("ExportFuncList[%lu] = %p\n", (unsigned long)i, funcList[i]);
}
#endif
}