Create DebugHelper.h
From now on, include DebugHelper.h for debug purpose.
diff --git a/lib/bcc/bcc.cpp b/lib/bcc/bcc.cpp
index e6972fe..ce7d7d0 100644
--- a/lib/bcc/bcc.cpp
+++ b/lib/bcc/bcc.cpp
@@ -17,15 +17,13 @@
// Bitcode compiler (bcc) for Android:
// This is an eager-compilation JIT running on Android.
-#define LOG_TAG "bcc"
-#include <cutils/log.h>
-
#include <bcc/bcc.h>
#include "bcc_internal.h"
#include "Config.h"
#include "Compiler.h"
+#include "DebugHelper.h"
#include "Script.h"
#include <utils/StopWatch.h>
@@ -34,24 +32,6 @@
char const libbcc_build_time[24] = __DATE__ " " __TIME__;
-namespace bcc {
- class FuncLogger {
- private:
- char const *mFuncName;
-
- public:
- FuncLogger(char const *name) : mFuncName(name) {
- // LOGI("---> BEGIN: libbcc [ %s ]\n", name);
- }
-
- ~FuncLogger() {
- // LOGI("---> END: libbcc [ %s ]\n", mFuncName);
- }
- };
-
-#define BCC_FUNC_LOGGER() bcc::FuncLogger XX__funcLogger(__FUNCTION__)
-} // namespace bcc
-
namespace llvm {
class Module;