keith added a comment.

With D87928 <https://reviews.llvm.org/D87928> do you think we would want this 
flag as well? The only difference I can think of (besides general UX) is if you 
need to remap paths outside of your source root, I believe having a 
`*-prefix-map` style flag makes that a bit more clear (or potentially possible 
at all). Ideally there wouldn't be issues around that but in the past in the 
Apple toolchain the Xcode path was embedded in debug info (as an example), so 
to get a reproducible build we had to pass 
`-fdebug-prefix-map=/path/to/Xcode.app=SOMETHING`. Which 
`-fdebug-compilation-dir .` couldn't solve. I'm wondering if we should add both 
flags for this flexibility, or if we should assume this should not happen?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D83154

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [P... Keith Smiley via Phabricator via cfe-commits
  • [P... Keith Smiley via Phabricator via cfe-commits
  • [P... Reid "Away June-Sep" Kleckner via Phabricator via cfe-commits
  • [P... Keith Smiley via Phabricator via cfe-commits
  • [P... Andrew Gallagher via Phabricator via cfe-commits
  • [P... Petr Hosek via Phabricator via cfe-commits
  • [P... Keith Smiley via Phabricator via cfe-commits
  • [P... Reid "Away June-Sep" Kleckner via Phabricator via cfe-commits
  • [P... Petr Hosek via Phabricator via cfe-commits
  • [P... Petr Hosek via Phabricator via cfe-commits
  • [P... Keith Smiley via Phabricator via cfe-commits
  • [P... Petr Hosek via Phabricator via cfe-commits
  • [P... Keith Smiley via Phabricator via cfe-commits

Reply via email to