mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Bannier <benjamin.bann...@mesosphere.io>
Subject Review Request 67108: Did not omit frame pointers in debug builds.
Date Mon, 14 May 2018 09:18:26 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/67108/
-----------------------------------------------------------

Review request for mesos.


Repository: mesos


Description
-------

This patch prevents the compiler from omitting frame pointers for
debug builds which can lead to a better debugging or profiling
experience.

Since having this flag turned on can disable certain optimizations we
do not enable it in non-debug builds. This can lead to minor
deviations in runtime behavior when combing release and debug flags
(e.g., when combining `--enable-debug` with `--enable-optimize`, or
with the cmake build type `RelWithDebInfo`), but still should give the
best possible build for pure release builds, and allow a reasonable
developer experience when debugging/profiling.


Diffs
-----

  cmake/CompilationConfigure.cmake 843786e2ff72cd1a07be73d97a071f0f1398354a 
  configure.ac 6d9c8ceb083984b9b61b30c29c39b3aef32fbd69 


Diff: https://reviews.apache.org/r/67108/diff/1/


Testing
-------


Thanks,

Benjamin Bannier


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message