mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
a8a6c5c4ba
This patch simplifies and increases the consistency of how HAVE_NATIVE_UNWIND is used. - Its definition is moved from platform.h to platform.cpp, because the latter is the only file that uses it. - It's now defined in the same place as USE_{NS,EHABI,LUL}_STACKWALK, and used in preference to those, where possible. Also, it's now defined on Linux and Android even if MOZ_PROFILING is not. - HAVE_NATIVE_UNWIND is now used consistently and by itself for all relevant conditions, including when defining the presence and use of the "stackwalk" feature. - The patch inlines and removes is_native_unwinding_avail(). Note that MOZ_PROFILING must be defined for HAVE_NATIVE_UNWIND to be true on Windows and Mac, but not on Linux and Android. --HG-- extra : rebase_source : 5be3e5fe65706a15179a2cf46ba9451f68fff815 |
||
---|---|---|
.. | ||
bloatview | ||
coverity | ||
docs | ||
fuzzing | ||
jprof | ||
leak-gauge | ||
lint | ||
memory-profiler | ||
mercurial | ||
power | ||
profiler | ||
quitter | ||
rb | ||
rewriting | ||
update-packaging | ||
mach_commands.py | ||
moz.build |