https://github.com/osquery/osquery logo
m

Mayur Shingote

12/24/2021, 10:43 PM
Hi, What's difference
RelWithDebInfo
and
Debug
?
z

zwass

12/24/2021, 11:16 PM
I'm not certain, but I think
RelWithDebInfo
means that compiler optimizations are turned on and debug symbols are also left in place. Whereas
Debug
would turn off most compiler optimizations.
ty 1
s

Stefano Bonicatti

12/25/2021, 9:40 AM
Correct! Additionally
RelWithDebInfo
passes
NDEBUG
as with
Release
builds, so that things like asserts, or any other debug code is not compiled in.
ty 1
8 Views