[PATCH] D148975: -fdebug-prefix-map=: make the last win when multiple prefixes match

Scott Linder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 25 14:04:31 PDT 2023


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

LGTM, thank you!

Does this warrant a release note, as it is changing the behavior in a backwards-incompatible manner? I do think changing to match GCC is worthwhile, even if it means a change in behavior for Clang.

I also don't think the "longest first" heuristic is useful enough to outweigh the benefits of behaving like GCC; it seems like the user can always sort their own options to get the same effect.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148975



More information about the cfe-commits mailing list