[PATCH] D54487: Implement llvm.commandline named metadata

John Reagan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 14 09:28:40 PST 2018


JohnReagan added a comment.

In https://reviews.llvm.org/D54487#1297947, @manojgupta wrote:

> Doesn't clang already has -grecord-gcc-switches option (https://clang.llvm.org/docs/ClangCommandLineReference.html#debug-information-flags) ?


Yes, but that is somewhat different.  The "-g" option seems to just append the command line to the producer string, yes?  It is harder to parse out later and it can be stripped out.  gcc has both -g and -f forms.


Repository:
  rL LLVM

https://reviews.llvm.org/D54487





More information about the llvm-commits mailing list