mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-02-19 00:39:38 +00: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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user