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

Mikhail Maltsev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 12 07:06:58 PDT 2018


miyuki added a comment.

One use case for this is debugging: this flag makes it easier to find out which revisions of LLVM introduce changes in codegen and/or debug information without having to filter out .ident/producer metadata. Some users can also use this flag (or an equivalent, -fno-ident) to reduce code size: https://github.com/niXman/mingw-builds/issues/412 (.ident strings are embedded into each object file and don't get merged during linking, so the difference can be noticeable).


https://reviews.llvm.org/D45255





More information about the cfe-commits mailing list