[llvm-dwp] Report the filename if it cannot be found
authorZhang Qing Shan <zhangqingshan.zll@bytedance.com>
Tue, 13 Sep 2022 04:56:23 +0000 (12:56 +0800)
committerZhang Qing Shan <zhangqingshan.zll@bytedance.com>
Tue, 13 Sep 2022 05:00:15 +0000 (13:00 +0800)
commit35028d417bb32bc05294e77c9ddcf50f24f277eb
treec3d6db02e3c4e72e5393bea1e0c311d678cf4f34
parent12e78d96f2fb46c7f4e2fc69db35f0a74502dd60
[llvm-dwp] Report the filename if it cannot be found

For now, we report nothing if the execution/dwo file is missing, which is confusing.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D133549
llvm/lib/DWP/DWP.cpp
llvm/test/tools/llvm-dwp/X86/diagnose_missing_dwos.test [new file with mode: 0644]
llvm/tools/llvm-dwp/llvm-dwp.cpp