Blender Git Loki

Git Commits -> Revision f90a716

Revision f90a716 by Ray molenkamp (master)
April 30, 2020, 18:41 (GMT)
Windows: Support backtraces on release builds.

This diff add supports for crash logs on windows for
release builds. This can be toggled on/off with the
`WITH_WINDOWS_PDB` cmake option. by default it is on.

Things to take into consideration:

Release builds are hightly optimized and the resulting
backtraces can be wrong/misleading, take the backtrace
as a general area where the problem resides rather than
an exact location.

By default we ship a minimized symbol file that can only
resolve the function names. This was chosen to strike
a balance between growth in size of the download vs
functionality gained. If more detailed information is
required such as source file + line number information
a full pdb can be shipped by setting `WITH_WINDOWS_STRIPPED_PDB`
to off.

The Release in the title of this diff refers to the
release build type, not the official blender releases.

Initially this will only be enabled for nightly build
bot versions of blender, official releases as of now
will not ship with symbols.

Differential Revision: https://developer.blender.org/D7520

Reviewed by: brecht

Commit Details:

Full Hash: f90a716e68cb056275bce873901c341f6db93ffb
Parent Commit: 8e08d80
Lines Changed: +445, -135

1 Added Path:

/source/blender/blenlib/intern/system_win32.c (+375, -0) (View)

8 Modified Paths:

/build_files/buildbot/slave_compile.py (+4, -0) (Diff)
/build_files/cmake/platform/platform_win32.cmake (+15, -5) (Diff)
/CMakeLists.txt (+6, -0) (Diff)
/source/blender/blenlib/BLI_system.h (+4, -0) (Diff)
/source/blender/blenlib/CMakeLists.txt (+3, -0) (Diff)
/source/blender/blenlib/intern/system.c (+8, -43) (Diff)
/source/creator/CMakeLists.txt (+15, -0) (Diff)
/source/creator/creator_signals.c (+15, -87) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021