Commit Graph

1 Commits

Author SHA1 Message Date
Adrian Prantl
bc8bb830a8 Add support for relative paths in debug prefix maps.
Users may want to use -fdebug-prefix-map to remap a directory to "./".
This wasn't supported previously and resulted in duplicate path
prefixes in the debug info.

With this patch swiftc behaves similar to clang when remapping a path
to a relative path.

rdar://83753143
2021-11-04 11:17:52 -07:00