Previously if you passed an absolute path to clang, where only part of
the path to the file was remapped, it would result in the file's DIFile
being stored with a duplicate path, for example:
!DIFile(filename: "./ios/Sources/bar.c", directory: "./ios/Sources")
This change handles absolute paths, specifically in the case they are
remapped to something relative, and uses the dirname for the directory,
and basename for the filename.
This also adds a test verifying this behavior for more standard uses as
well.
This reverts commit 68e49aea9ac4dca550df70706cc845de04939c03.
Does this want to be
"%{fs-src-root}OVERRIDE%{fs-sep}DebugObjC.h" ?