[PATCH] D51833: ELF: Add --build-id-link-dir=DIR switch
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 10 16:59:56 PDT 2018
ruiu added a comment.
I think I don't understand the use case of the feature yet.
- If you hard-link two files, they have the identical contents (strictly speaking there is only one file with two filenames). If a debugger can find an executable having debug info in .build-id/xx/xxxxx directory, it should be able to find it in the executable that's being debugged. So, how does it work?
- If it is the only problem that llvm-objdump's output is not machine-readable, you can add a new option to llvm-objdump to print out a build-id, can't you?
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D51833
More information about the llvm-commits
mailing list