The value of splitDebugFilename in DICompileUnit is currently ignored when
emitting the dwo name into an object file. The path supplied in
MCOptions.SplitDwarfFile is used both as a real path to write the split
dwo content, and as the value of DW_AT_[GNU_]dwo_name emitted into the object
file.
Instead, the filename specified in DICompileUnit should be the one emitted so
long as it has been specified. Additionally, since MCOptions.SplitDwarfFile
points to a real path, this may lead to inconsistent compilation results when
doing remote/distributed builds.
MCOptions.SplitDwarfFile remains to be used as the real path to write the
dwo file, but splitDebugFilename in DICompileUnit is emitted when specified,
and otherwise falls back to emit MCOptions.SplitDwarfFile as-is