[PATCH] D45255: [CodeGen] Add an option to suppress output of llvm.ident

Roger Ferrer Ibanez via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 12 07:12:36 PDT 2018


rogfer01 added a comment.

There is a flag `-fno-ident` that has the same effect in GCC https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html#index-fno-ident although it involves also ignoring the `#ident`.

A quick look seems to suggest that #ident is just ignored in the usual PP callbacks used by the parser so in practice `-fno-ident` would be the same as `-Qn`


https://reviews.llvm.org/D45255





More information about the cfe-commits mailing list