diff options
| -rw-r--r-- | runtime/Android.mk | 4 | ||||
| -rw-r--r-- | runtime/thread.cc | 2 |
2 files changed, 0 insertions, 6 deletions
diff --git a/runtime/Android.mk b/runtime/Android.mk index ebbe2a369a..86201ba308 100644 --- a/runtime/Android.mk +++ b/runtime/Android.mk @@ -362,10 +362,6 @@ ifeq ($(2ND_DEX2OAT_TARGET_ARCH),arm) endif endif -ifneq ($(filter tetra, $(TARGET_DEVICE)),) - LIBART_CFLAGS += -DNO_DUMP_NATIVE_STACKS -endif - # $(1): target or host # $(2): ndebug or debug define build-libart diff --git a/runtime/thread.cc b/runtime/thread.cc index 674e44f6ed..9f7c303af9 100644 --- a/runtime/thread.cc +++ b/runtime/thread.cc @@ -1069,10 +1069,8 @@ void Thread::DumpStack(std::ostream& os) const { if (safe_to_dump) { // If we're currently in native code, dump that stack before dumping the managed stack. if (dump_for_abort || ShouldShowNativeStack(this)) { -#ifndef NO_DUMP_NATIVE_STACKS DumpKernelStack(os, GetTid(), " kernel: ", false); DumpNativeStack(os, GetTid(), " native: ", GetCurrentMethod(nullptr, !dump_for_abort)); -#endif } DumpJavaStack(os); } else { |