[PATCH] D28095: [ELF] - Use information available from DW_AT_comp_dir attribute when doing error reporting.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 10 06:31:26 PST 2017


>I don't feel strongly one way or the other. What motivated the change?
>Have you seen a case where we were producing a confusing error message
>and this would help?
>
>Cheers,
>Rafael

Motivaion was to provide more detailed error message since we already had API in llvm for doing that.
Possiblie use case: it can help if final link done as separate step.
That way if we have some objects after compilation and we moved them
then it is still possible to report errors containing correct initial source file names.

George.


More information about the llvm-commits mailing list