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

Dan McGregor via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 27 14:48:35 PDT 2023


dankm added a comment.

In D148975#4296895 <https://reviews.llvm.org/D148975#4296895>, @MaskRay wrote:

> Thank you! I feel that specifying multiple `-fdebug-prefix-map=` is a very uncommon situation, so a release note entry is likely overkill.
> I updated the HelpText, though.

The Yocto project and my WIP changes against FreeBSD both specify multiple `-fdebug-prefix-map=` options, but neither depend on the longest-match first semantics. They did at one point, but GCC behaved differently.

So, I suppose this LGTM.


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