diff --git a/libc/Android.mk b/libc/Android.mk index d6b208c34..4b98ee77b 100644 --- a/libc/Android.mk +++ b/libc/Android.mk @@ -1428,8 +1428,8 @@ LOCAL_C_INCLUDES := \ $(libc_common_c_includes) \ LOCAL_SRC_FILES := \ + bionic/debug_backtrace.cpp \ bionic/debug_mapinfo.cpp \ - bionic/debug_stacktrace.cpp \ bionic/libc_logging.cpp \ bionic/malloc_debug_leak.cpp \ bionic/malloc_debug_check.cpp \ diff --git a/libc/bionic/debug_stacktrace.cpp b/libc/bionic/debug_backtrace.cpp similarity index 99% rename from libc/bionic/debug_stacktrace.cpp rename to libc/bionic/debug_backtrace.cpp index b49a42ed5..de3ce08e7 100644 --- a/libc/bionic/debug_stacktrace.cpp +++ b/libc/bionic/debug_backtrace.cpp @@ -26,7 +26,7 @@ * SUCH DAMAGE. */ -#include "debug_stacktrace.h" +#include "debug_backtrace.h" #include #include diff --git a/libc/bionic/debug_stacktrace.h b/libc/bionic/debug_backtrace.h similarity index 95% rename from libc/bionic/debug_stacktrace.h rename to libc/bionic/debug_backtrace.h index 2cf8636d1..adc9d1dac 100644 --- a/libc/bionic/debug_stacktrace.h +++ b/libc/bionic/debug_backtrace.h @@ -26,8 +26,8 @@ * SUCH DAMAGE. */ -#ifndef DEBUG_STACKTRACE_H -#define DEBUG_STACKTRACE_H +#ifndef DEBUG_BACKTRACE_H +#define DEBUG_BACKTRACE_H #include #include @@ -37,4 +37,4 @@ __LIBC_HIDDEN__ void backtrace_shutdown(); __LIBC_HIDDEN__ int get_backtrace(uintptr_t* stack_frames, size_t max_depth); __LIBC_HIDDEN__ void log_backtrace(uintptr_t* stack_frames, size_t frame_count); -#endif /* DEBUG_STACKTRACE_H */ +#endif /* DEBUG_BACKTRACE_H */ diff --git a/libc/bionic/malloc_debug_check.cpp b/libc/bionic/malloc_debug_check.cpp index dee03fae1..07186ceae 100644 --- a/libc/bionic/malloc_debug_check.cpp +++ b/libc/bionic/malloc_debug_check.cpp @@ -47,7 +47,7 @@ #include #include "debug_mapinfo.h" -#include "debug_stacktrace.h" +#include "debug_backtrace.h" #include "malloc_debug_backtrace.h" #include "malloc_debug_common.h" #include "malloc_debug_disable.h" diff --git a/libc/bionic/malloc_debug_leak.cpp b/libc/bionic/malloc_debug_leak.cpp index 6a466677b..1ffbee236 100644 --- a/libc/bionic/malloc_debug_leak.cpp +++ b/libc/bionic/malloc_debug_leak.cpp @@ -46,7 +46,7 @@ #include #include -#include "debug_stacktrace.h" +#include "debug_backtrace.h" #include "malloc_debug_backtrace.h" #include "malloc_debug_common.h" #include "malloc_debug_disable.h"