Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/#/c/157220
Bug: 5449033
Change-Id: Ic34de235eb1cd094af555d7299da643a626ca092
diff --git a/lib/ExecutionEngine/Compiler.cpp b/lib/ExecutionEngine/Compiler.cpp
index b0ba132..6e1a06a 100644
--- a/lib/ExecutionEngine/Compiler.cpp
+++ b/lib/ExecutionEngine/Compiler.cpp
@@ -225,7 +225,7 @@
void Compiler::LLVMErrorHandler(void *UserData, const std::string &Message) {
std::string *Error = static_cast<std::string*>(UserData);
Error->assign(Message);
- LOGE("%s", Message.c_str());
+ ALOGE("%s", Message.c_str());
exit(1);
}
@@ -267,7 +267,7 @@
llvm::Module *result = llvm::ParseBitcodeFile(MEM, *mContext, &mError);
if (!result) {
- LOGE("Unable to ParseBitcodeFile: %s\n", mError.c_str());
+ ALOGE("Unable to ParseBitcodeFile: %s\n", mError.c_str());
return NULL;
}
@@ -531,7 +531,7 @@
}
on_bcc_compile_error:
- // LOGE("on_bcc_compiler_error");
+ // ALOGE("on_bcc_compiler_error");
if (TD) {
delete TD;
}
@@ -544,7 +544,7 @@
return 0;
}
- // LOGE(getErrorMessage());
+ // ALOGE(getErrorMessage());
return 1;
}
@@ -864,7 +864,7 @@
}
}
- LOGE("Unable to resolve symbol: %s\n", name);
+ ALOGE("Unable to resolve symbol: %s\n", name);
return NULL;
}
#endif