[PATCH] D127696: [lld-macho] Print the name of functions containing undefined references

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 14 06:40:19 PDT 2022


int3 added a comment.

> And even for people who know what it means and can read assembly, what's the added value of knowing which offset in a function has the reference?

Okay fair. I guess if we printed out the actual debug line number, that might be more useful (since the user might want to delete that reference in the source.)

It appears that LLD-ELF only emits the address offset when reporting on an invalid relocation, which seems like a reasonable approach to follow, since in that case we actually do need the address to diagnose the error


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127696/new/

https://reviews.llvm.org/D127696



More information about the llvm-commits mailing list