Este site funciona melhor com JavaScript.
Página inicial
Ajuda
Acessar
lolengine
/
lol
espelhamento de
https://github.com/lolengine/lol
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Versões
0
Wiki
Atividade
Ver código fonte
build: look for backtrace_symbols() before enabling the Unix stack
walking code.
legacy
Sam Hocevar
sam
13 anos atrás
pai
8143b73ffb
commit
586a984498
2 arquivos alterados
com
2 adições
e
2 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+1
-1
configure.ac
+1
-1
src/base/assert.cpp
+ 1
- 1
configure.ac
Ver arquivo
@@ -88,7 +88,7 @@ AC_CHECK_HEADERS(cxxabi.h)
AC_LANG_POP(C++)
dnl Common C functions
AC_CHECK_FUNCS(getcwd _getcwd)
AC_CHECK_FUNCS(getcwd _getcwd
backtrace_symbols
)
if test "${enable_debug}" = "yes"; then
+ 1
- 1
src/base/assert.cpp
Ver arquivo
@@ -26,7 +26,7 @@ namespace lol
void DumpStack()
{
#if defined HAVE_CXA_DEMANGLE
#if defined HAVE_CXA_DEMANGLE
&& defined HAVE_BACKTRACE_SYMBOLS
/* Get current stack frames */
void *stack_ptrs[50];
size_t size = backtrace(stack_ptrs, 50);
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar