[lld] [lld][ELF] Use the containing symbol, not the referenced symbol, for undefined symbol errors. (PR #70800)

Peter Smith via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 31 10:23:31 PDT 2023


https://github.com/smithp35 commented:

The code changes look good to me. I think it should be possible to write a lit test for this using the .file and .loc directives. The only example in the lld testsuite that does this is debug-line-obj.s 

You may be able to adapt that, or something similar to make a test case.

https://github.com/llvm/llvm-project/pull/70800


More information about the llvm-commits mailing list