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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits