mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
Bug 1175857 - Build dump_syms with compiler optimizations; r=glandium
dump_syms has been measured to be ~50% faster when compiled with optimizations. Since symbol generation takes a lot of time on the builders, this difference matters. Compile dump_syms with optimizations to make symbol dumping faster and hopefully making build jobs faster as well. --HG-- extra : commitid : 6g0sbZClTNW
This commit is contained in:
parent
d4f1bff852
commit
83de823d6b
@ -8,7 +8,10 @@ HOST_SOURCES += [
|
||||
'dump_syms.cc',
|
||||
]
|
||||
|
||||
HostProgram('dump_syms')
|
||||
HOST_CXXFLAGS += [
|
||||
'-O2',
|
||||
'-g',
|
||||
]
|
||||
|
||||
# host_breakpad_linux_common_s needs to come first
|
||||
HOST_USE_LIBS += [
|
||||
@ -19,6 +22,10 @@ HOST_USE_LIBS += [
|
||||
'host_breakpad_dwarf_s',
|
||||
]
|
||||
|
||||
# The HostProgram template may append 'host_stdc++compat' to
|
||||
# HOST_USE_LIBS, which needs to appear after the entries above.
|
||||
HostProgram('dump_syms')
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
'../../..',
|
||||
'../../../common/linux',
|
||||
|
@ -8,7 +8,10 @@ HOST_SOURCES += [
|
||||
'dump_syms_tool.cc',
|
||||
]
|
||||
|
||||
HostProgram('dump_syms')
|
||||
HOST_CXXFLAGS += [
|
||||
'-O2',
|
||||
'-g',
|
||||
]
|
||||
|
||||
# Order matters here, but HOST_USE_LIBS must be sorted.
|
||||
HOST_USE_LIBS += [
|
||||
@ -19,6 +22,10 @@ HOST_USE_LIBS += [
|
||||
'host_breakpad_dwarf_s',
|
||||
]
|
||||
|
||||
# The HostProgram template may append 'host_stdc++compat' to
|
||||
# HOST_USE_LIBS, which needs to appear after the entries above.
|
||||
HostProgram('dump_syms')
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
'../../..',
|
||||
'../../../common/mac',
|
||||
|
@ -7,14 +7,21 @@
|
||||
HOST_SOURCES += [
|
||||
'dump_syms.cc',
|
||||
]
|
||||
|
||||
HostProgram('dump_syms')
|
||||
|
||||
HOST_CXXFLAGS += [
|
||||
'-O2',
|
||||
'-g',
|
||||
]
|
||||
|
||||
HOST_USE_LIBS += [
|
||||
'host_breakpad_common_s',
|
||||
'host_breakpad_solaris_common_s',
|
||||
]
|
||||
|
||||
# The HostProgram template may append 'host_stdc++compat' to
|
||||
# HOST_USE_LIBS, which needs to appear after the entries above.
|
||||
HostProgram('dump_syms')
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
'../../..',
|
||||
'../../../common/solaris',
|
||||
|
Loading…
Reference in New Issue
Block a user