Loading libs/binder/trusty/include/log/log.h +5 −3 Original line number Diff line number Diff line Loading @@ -121,6 +121,8 @@ static inline void __ignore_va_args__(...) {} TLOGE("android_errorWriteLog: tag:%x subTag:%s\n", tag, subTag); \ } while (0) extern "C" inline void __assert(const char* file, int line, const char* str) { LOG_ALWAYS_FATAL("%s:%d: assertion \"%s\" failed", file, line, str); } // Override the definition of __assert from binder_status.h #ifndef __BIONIC__ #undef __assert #define __assert(file, line, str) LOG_ALWAYS_FATAL("%s:%d: %s", file, line, str) #endif // __BIONIC__ Loading
libs/binder/trusty/include/log/log.h +5 −3 Original line number Diff line number Diff line Loading @@ -121,6 +121,8 @@ static inline void __ignore_va_args__(...) {} TLOGE("android_errorWriteLog: tag:%x subTag:%s\n", tag, subTag); \ } while (0) extern "C" inline void __assert(const char* file, int line, const char* str) { LOG_ALWAYS_FATAL("%s:%d: assertion \"%s\" failed", file, line, str); } // Override the definition of __assert from binder_status.h #ifndef __BIONIC__ #undef __assert #define __assert(file, line, str) LOG_ALWAYS_FATAL("%s:%d: %s", file, line, str) #endif // __BIONIC__