Don't ignore -Xstacktracefile: in debug builds.
Change-Id: Iabf65f6b68fda8a23c480c5c427c3f87a98d6d85
diff --git a/src/runtime.cc b/src/runtime.cc
index b5928b2..79f75c7 100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -492,11 +492,7 @@
} else if (StartsWith(option, "-Xlockprofthreshold:")) {
parsed->lock_profiling_threshold_ = ParseIntegerOrDie(option);
} else if (StartsWith(option, "-Xstacktracefile:")) {
- if (kIsDebugBuild) {
- // Ignore the zygote and always show stack traces in debug builds.
- } else {
- parsed->stack_trace_file_ = option.substr(strlen("-Xstacktracefile:"));
- }
+ parsed->stack_trace_file_ = option.substr(strlen("-Xstacktracefile:"));
} else if (option == "sensitiveThread") {
parsed->hook_is_sensitive_thread_ = reinterpret_cast<bool (*)()>(options[i].second);
} else if (option == "vfprintf") {