[PATCH] D54489: Implement -frecord-command-line (-frecord-gcc-switches)
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 14 16:30:58 PST 2018
rjmccall added inline comments.
================
Comment at: docs/ClangCommandLineReference.rst:797
+
+Generate a section .LLVM.command.line containing the clang driver command line.
+
----------------
1. Is this section always called `.LLVM.command.line`, or does it differ by target object-file format?
2. For that matter, is this actually supported by all object-file formats?
3. Please describe the format of the section. Is it just a flat C string? Is it nul-terminated? Are different options combined with spaces, and if so, does that mean that interior spaces in command line arguments are impossible to distinguish? If the latter, I assume that this is required behavior for backward compatibility; please at least apologize for that in the documentation. :)
https://reviews.llvm.org/D54489
More information about the cfe-commits
mailing list