I suggest assigning a synthetic file for linker script and --defsym symbols, that would allow enabling
our toString logic to work with them properly.
That is useful for the following things:
- We can print --defsym and linker script files in -cref. (LLD currently prints <internal> instead of a valid location)
- Useful for error reporting.
- Useful for debugging. (Not so important, but nice to have for free).
The result of such change is shown in the test cases.