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).
cfe-commits mailing list