[PATCH] D16135: Macro Debug Info support in Clang
Adrian Prantl via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 9 08:40:12 PST 2017
aprantl added a comment.
Please also add driver testcase (e.g., to test/Driver/debug-options.c).
Technically clang does accept -g3 as an option, so we could wire it up for compatibility. I would still keep the -fmacro-debug driver option though.
================
Comment at: docs/UsersManual.rst:1692
+
+Debug info for macro increases the size of debug information in the binary.
+Macro debug info generated by Clang can be controlled by the flags listed below.
----------------
Debug info for C preprocessor macros ...
================
Comment at: docs/UsersManual.rst:1697
+
+ Generate complete debug info. This flag is discarded when **-g0** is enabled.
+
----------------
Generate debug info for preprocessor macros. ...
https://reviews.llvm.org/D16135
More information about the cfe-commits
mailing list