[PATCH] D54489: Implement -frecord-command-line (-frecord-gcc-switches)

Scott Linder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 15 08:51:46 PST 2018


scott.linder added a comment.

Looking a bit further, it seems some other object-file formats have conventions for naming (e.g. Mach-O sections are `_snake_case`) and so `.LLVM.command.line` may not end up being what we want universally.

Additionally it seems things like `.ident` are not supported by all object-file formats in LLVM; using Mach-O as an example again, it uses the default of "no .ident support", and I don't see the ident in the .S or .o


https://reviews.llvm.org/D54489





More information about the cfe-commits mailing list