mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2025-12-26 17:25:04 +01:00
Use ctsdio streams for dump_syms for significant speedup. Also contains a makefile fix to build in 32-bit mode, even on 64-bit systems.
A=jim blandy R=nealsid git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@347 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
2eb356a68d
commit
0eb52ff8cc
4 changed files with 28 additions and 39 deletions
|
|
@ -1,7 +1,7 @@
|
|||
CXX=g++
|
||||
CC=gcc
|
||||
|
||||
CXXFLAGS=-gstabs -I../../.. -DNDEBUG -Wall -D_REENTRANT
|
||||
CXXFLAGS=-gstabs -I../../.. -DNDEBUG -Wall -D_REENTRANT -m32
|
||||
|
||||
.PHONY:all clean
|
||||
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ int main(int argc, char **argv) {
|
|||
const char *binary = argv[1];
|
||||
|
||||
DumpSymbols dumper;
|
||||
if (!dumper.WriteSymbolFile(binary, fileno(stdout))) {
|
||||
if (!dumper.WriteSymbolFile(binary, stdout)) {
|
||||
fprintf(stderr, "Failed to write symbol file.\n");
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue