[PATCH] D122766: [clang] Add the flag -ffile-reproducible

Hans Wennborg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 9 11:23:51 PDT 2022


hans accepted this revision.
hans added a comment.
This revision is now accepted and ready to land.

I still wish this could just be the default behavior, but this flag seems a good compromise.

LGTM (but please wait for Aaron too)



================
Comment at: clang/include/clang/Driver/Options.td:1516
+  Group<f_Group>, Flags<[CoreOption, CC1Option]>,
+  HelpText<"Use the build environment's platform-specific path separator "
+           "character when expanding the __FILE__ macro">;
----------------
I think "build environment" is maybe confusing, and "host" might be the better word.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122766/new/

https://reviews.llvm.org/D122766



More information about the llvm-commits mailing list