[all-commits] [llvm/llvm-project] 613962: llvm-dwp: Include dwo name even when the input is ...
David Blaikie via All-commits
all-commits at lists.llvm.org
Thu Jul 28 13:24:21 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6139626d738fd03b968e07698f5cd26924e3cd65
https://github.com/llvm/llvm-project/commit/6139626d738fd03b968e07698f5cd26924e3cd65
Author: David Blaikie <dblaikie at gmail.com>
Date: 2022-07-28 (Thu, 28 Jul 2022)
Changed paths:
M llvm/lib/DWP/DWP.cpp
M llvm/test/tools/llvm-dwp/X86/duplicate.test
M llvm/test/tools/llvm-dwp/X86/handle_strx.test
Log Message:
-----------
llvm-dwp: Include dwo name even when the input is a dwo
This still only includes the dwo name if it's in the DW_AT_dwo_name
attribute in the split unit - though it could be improved/modified to
use the dwo name from the command line (if linking raw dwo files) or
retrieved from the DW_AT_dwo_name in the executable (when using -e).
It's useful in any case because you might have a large command line with
many files and knowing exactly which dwo files are relevant will
simplify debugging, but especially with '-e' when you didn't pass the
dwo files explicitly in nthe first place it would be quite non-obvious
where the duplicate units are coming from.
More information about the All-commits
mailing list