The error used to look like this:
ld64.lld: error: undefined symbol: _foo >>> referenced by /path/to/bar.o
Now it displays the name of the function that contains the undefined
reference as well:
ld64.lld: error: undefined symbol: _foo >>> referenced by /path/to/bar.o:(symbol _baz+0x4)
I plan to use debug information to provide even more context in a future
commit.
Please commit this diff with the following author info:
Daniel Bertalan <dani@danielbertalan.dev>