[ld64] Fix dsymutil warning about not finding symbol file symbol objects.
commit6249b56a9bd1f50db9e57e8528abdee6943e363b
authorIain Sandoe <iain@sandoe.co.uk>
Sun, 24 Mar 2019 13:00:54 +0000 (24 13:00 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Wed, 3 Jul 2019 14:38:12 +0000 (3 15:38 +0100)
tree057bc651dac49b3b60e7f7fe4031d202fbdfdf75
parentd591198d710ba4e6e331c963c9b5d06d210266bb
[ld64] Fix dsymutil warning about not finding symbol file symbol objects.

When the same source file is used to generate multiple objects (with
conditional compilation), currently ld64 is only emitting an OSO for the
first one (since it's assuming 1:1 mapping of source:object).

This patch causes it to emit a new OSO for each object encountered with
the same source file.
ld64/src/ld/OutputFile.cpp