[all-commits] [llvm/llvm-project] d7cd41: Give a warning when no dwo files are provided (#94...

Jinjie Huang via All-commits all-commits at lists.llvm.org
Thu Jun 27 10:47:55 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d7cd41e571cb8def7914cce51b49e009f8851634
      https://github.com/llvm/llvm-project/commit/d7cd41e571cb8def7914cce51b49e009f8851634
  Author: Jinjie Huang <huangjinjie at bytedance.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    A llvm/test/tools/llvm-dwp/X86/empty_warning.s
    M llvm/tools/llvm-dwp/llvm-dwp.cpp

  Log Message:
  -----------
  Give a warning when no dwo files are provided (#94336)

In some scenarios based on the split-dwarf build process, the dwo file
is not generated as expected(That is to say, no dwo file path is stored
in the binary). When the llvm-dwp tool is called to generate the .dwp
file, it will exit without any warning.
 
So, the plan is to prompt a warning to tell the user that the dwo file
was not actually generated.
<img width="699" alt="image"
src="https://github.com/llvm/llvm-project/assets/150100070/5e5742f6-daad-450f-87e9-cb25449c3c7a">



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list