Date: | Fri, 25 Mar 2022 12:21:06 -0700 |
---|---|
From: | kupsch <noreply@xxxxxxxxxx> |
Subject: | [DynInst_API:] [dyninst/dyninst] cf3a2a: fix warnings in MINSIZEREL build types |
Branch: refs/heads/kupsch/fix-warnings-MINSIZEREL Home: https://github.com/dyninst/dyninst Commit: cf3a2a0130b0a01ab9f3d9a6b0ce60214750c36c https://github.com/dyninst/dyninst/commit/cf3a2a0130b0a01ab9f3d9a6b0ce60214750c36c Author: James A. Kupsch <kupsch@xxxxxxxxxxx> Date: 2022-03-25 (Fri, 25 Mar 2022) Changed paths: M cmake/optimization.cmake Log Message: ----------- fix warnings in MINSIZEREL build types - 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 it 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:] It is a good time to register for the 2022 Scalable Tools Workshop, Barton Miller |
---|---|
Next by Date: | [DynInst_API:] [dyninst/dyninst] 377113: Fix warnings with cmake's MINSIZEREL build type, kupsch |
Previous by Thread: | [DynInst_API:] [dyninst/dyninst] ceeffa: Docker: don't build Dyninst through spack for the ..., Tim Haines |
Next by Thread: | [DynInst_API:] [dyninst/dyninst] d0e2f3: Remove unneeded #pragma's (#1240), kupsch |
Indexes: | [Date] [Thread] |