-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New built-in option b_debuginfo
#5954
base: master
Are you sure you want to change the base?
Conversation
Flake8 detected 9 issues on ee323de posted by Sider |
ee323de
to
13e2acd
Compare
13e2acd
to
4a91864
Compare
It looks like VS tests are failing due to #5923. |
4a91864
to
715fcf1
Compare
Controls the debug info format; defaults to `from_buildtype` with backward compatible behavior.
I'd rather there only be one option for deciding debug type, specifically |
@jpakkane Could you clarify what you mean? Debug info format is not the same as debug configuration, and there is no one to one correspondence between the two. In fact, it's a relatively widespread practice to generate standalone PDBs for release builds on Windows so that you can sanely debug production crashes etc. On top of it, currently, Meson hard-wires |
There are unfortunately two slightly incompatible meanings for the phrase "debug build". The first one, which is used by all unixy compilers, is that "debug" implies creating debug information. In practice this means using Thus since |
@jpakkane Thanks for clarifying; I didn't realize
or we can leave the
Neither of these would be 100% backward compatible since currently I don't have a strong preference between the two, let me know which one makes more sense to you or if you were thinking something different altogether. |
Controls the debug info format; defaults to
from_buildtype
with backward compatible behavior. In relation to #5183.When using MSVC-like compilers,
b_debuginfo=embedded
will result in/Z7
,b_debuginfo=standalone
will result in/Zi
, andb_debuginfo=edit-and-continue
will result in/ZI
. The option currently doesn't have any effect when using other compilers.