Date: | Sun, 27 Mar 2022 11:56:39 -0700 |
---|---|
From: | kupsch <noreply@xxxxxxxxxx> |
Subject: | [DynInst_API:] [dyninst/dyninst] 474ab1: Fix warnings with cmake's MINSIZEREL build type (#... |
Branch: refs/heads/master Home: https://github.com/dyninst/dyninst Commit: 474ab1e480147fc2583e192e77a2a7526b88514f https://github.com/dyninst/dyninst/commit/474ab1e480147fc2583e192e77a2a7526b88514f Author: kupsch <kupsch@xxxxxxxxxxx> Date: 2022-03-27 (Sun, 27 Mar 2022) Changed paths: M cmake/optimization.cmake Log Message: ----------- Fix warnings with cmake's MINSIZEREL build type (#1235) - Explicitly define optimization flags for cmake's MINSIZEREL build type. Cmake by default includes -DNDEBUG. This results in assert being defined to do nothing. Dyninst use asserts as a fatal error reporting mechanism and expects assert to not return if the condition is always false. If assert can return then many warnings are produced due to this unexpect path. - Remove defining NDEBUG for REL build types if using the MSC compiler |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | [DynInst_API:] [dyninst/dyninst] 377113: Fix warnings with cmake's MINSIZEREL build type, kupsch |
---|---|
Next by Date: | [DynInst_API:] [dyninst/dyninst] 0086f3: Remove void pointer arithmetic when using Valgrind..., Tim Haines |
Previous by Thread: | [DynInst_API:] [dyninst/dyninst] 4655b9: Code clean up for AMDGPU (#1205), noreply |
Next by Thread: | [DynInst_API:] [dyninst/dyninst] 4a1768: start of work to refactor the docs to use readthedocs, Tim Haines |
Indexes: | [Date] [Thread] |