Disable stack dumping for 32bit ARM
This commit is contained in:
parent
81c23b84e7
commit
b9ab2fe0fb
1 changed files with 5 additions and 0 deletions
|
@ -99,6 +99,11 @@ bool AtomMainDelegate::BasicStartupComplete(int* exit_code) {
|
||||||
bool enable_stack_dumping = true;
|
bool enable_stack_dumping = true;
|
||||||
#else
|
#else
|
||||||
bool enable_stack_dumping = env->HasVar("ELECTRON_ENABLE_STACK_DUMPING");
|
bool enable_stack_dumping = env->HasVar("ELECTRON_ENABLE_STACK_DUMPING");
|
||||||
|
#endif
|
||||||
|
#if defined(ARCH_CPU_ARM_FAMILY) && defined(ARCH_CPU_32_BITS)
|
||||||
|
// For 32bit ARM enabling stack printing would end up crashing.
|
||||||
|
// https://github.com/electron/electron/pull/11230#issuecomment-363232482
|
||||||
|
enable_stack_dumping = false;
|
||||||
#endif
|
#endif
|
||||||
if (enable_stack_dumping)
|
if (enable_stack_dumping)
|
||||||
base::debug::EnableInProcessStackDumping();
|
base::debug::EnableInProcessStackDumping();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue