Skip to content

Modify dwarfdump verification to allow sub-category counts #125062

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 10, 2025

Conversation

youngd007
Copy link
Contributor

@youngd007 youngd007 commented Jan 30, 2025

It was discovered that BOLT had several distinct issues of missing debug information by various tags for debug names (119493 & 119023 as examples), but the verification of a DWARF with llvm-dwarfdump prior to those fixes only gave one 'missing name' category.

{"error-categories":{"Name Index DIE entry missing name":{"count":36355210}},"error-count":36355210}

To more easily leverage dwarf verification for debug health, the JSON output will be improved to allow having detailed counts by a sub-category when it makes sense.
For now, this is only implemented on the missing tags, but can be extended to more.

{"error-categories":{"Name Index DIE entry missing name":{"count":10,"details":{"DW_TAG_inlined_subroutine":1,"DW_TAG_label":1,"DW_TAG_namespace":2,"DW_TAG_subprogram":2,"DW_TAG_variable":4}}},"error-count":10}

This diff also modifies the tests created in pull request 124936 (not yet landed) to ensure the JSON switches. Ideally this lands after that but it did not correctly create a stack of pull requests.

Summary:
    6244dfe LLVM commit added the ability
for llvm-dwarfdump to specify --verify-json and get a JSON aggregation of t
he DWARF errors.  This diff improves the testing by ensuring we validate th
e expected JSON shape.
    A follow up diff will modify the JSON and this ensures we can verify.
he DWARF errors.  This diff improves the testing by ensuring we validate th
e expected JSON shape.
    A follow up diff will modify the JSON and this ensures we can verify.

    Test Plan:
       ninja check-llvm-tools-llvm-dwarfdump
Copy link

Thank you for submitting a Pull Request (PR) to the LLVM Project!

This PR will be automatically labeled and the relevant teams will be notified.

If you wish to, you can add reviewers by using the "Reviewers" section on this page.

If this is not working for you, it is probably because you do not have write permissions for the repository. In which case you can instead tag reviewers by name in a comment by using @ followed by their GitHub username.

If you have received no comments on your PR for a week, you can request a review by "ping"ing the PR by adding a comment “Ping”. The common courtesy "ping" rate is once a week. Please remember that you are asking for valuable time from other developers.

If you have further questions, they may be answered by the LLVM GitHub User Guide.

You can also ask questions in a comment on this PR, on the LLVM Discord or on the forums.

@llvmbot
Copy link
Member

llvmbot commented Jan 30, 2025

@llvm/pr-subscribers-debuginfo

Author: None (youngdfb)

Changes

It was discovered that BOLT had several distinct issues of missing debug information by various tags for debug names (119493 & 119023 as examples), but the verification of a DWARF with llvm-dwarfdump prior to those fixes only gave one 'missing name' category.
{"error-categories":{"Name Index DIE entry missing name":{"count":36355210}},"error-count":36355210}
To more easily leverage dwarf verification for debug health, the JSON output will be improved to allow having detailed counts by a sub-category when it makes sense.
For now, this is only implemented on the missing tags, but can be extended to more.
{"error-categories":{"Name Index DIE entry missing name":{"count":10,"details":{"DW_TAG_inlined_subroutine":1,"DW_TAG_label":1,"DW_TAG_namespace":2,"DW_TAG_subprogram":2,"DW_TAG_variable":4}}},"error-count":10}

This diff also modifies the tests created in pull request 124936 (not yet landed) to ensure the JSON switches. Ideally this lands after that but it did not correctly create a stack of pull requests.


Full diff: https://github.com/llvm/llvm-project/pull/125062.diff

4 Files Affected:

  • (modified) llvm/include/llvm/DebugInfo/DWARF/DWARFVerifier.h (+13-2)
  • (modified) llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp (+37-9)
  • (added) llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify-completeness-json-output.s (+172)
  • (added) llvm/test/tools/llvm-dwarfdump/X86/dwarf-verify-good-json-output.s (+32)
diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFVerifier.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFVerifier.h
index 7b51bb63cd15ba..6e79619e156cb6 100644
--- a/llvm/include/llvm/DebugInfo/DWARF/DWARFVerifier.h
+++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFVerifier.h
@@ -30,9 +30,15 @@ class DWARFDebugAbbrev;
 class DataExtractor;
 struct DWARFSection;
 
+struct AggregationData {
+  unsigned OverallCount;
+  std::map<std::string, unsigned> DetailedCounts;
+  AggregationData() = default;
+};
+
 class OutputCategoryAggregator {
 private:
-  std::map<std::string, unsigned> Aggregation;
+  std::map<std::string, AggregationData> Aggregation;
   bool IncludeDetail;
 
 public:
@@ -40,8 +46,13 @@ class OutputCategoryAggregator {
       : IncludeDetail(includeDetail) {}
   void ShowDetail(bool showDetail) { IncludeDetail = showDetail; }
   size_t GetNumCategories() const { return Aggregation.size(); }
-  void Report(StringRef s, std::function<void()> detailCallback);
+  void Report(StringRef category, std::function<void()> detailCallback);
+  void Report(StringRef category, StringRef sub_category,
+              std::function<void()> detailCallback);
   void EnumerateResults(std::function<void(StringRef, unsigned)> handleCounts);
+  void EnumerateDetailedResultsFor(
+      StringRef category,
+      std::function<void(StringRef, unsigned)> handleCounts);
 };
 
 /// A class that verifies DWARF debug information given a DWARF Context.
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp b/llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
index 8bf513538de7c7..362461114b95e6 100644
--- a/llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
+++ b/llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
@@ -1942,12 +1942,14 @@ unsigned DWARFVerifier::verifyNameIndexCompleteness(
     if (none_of(NI.equal_range(Name), [&](const DWARFDebugNames::Entry &E) {
           return E.getDIEUnitOffset() == DieUnitOffset;
         })) {
-      ErrorCategory.Report("Name Index DIE entry missing name", [&]() {
-        error() << formatv(
-            "Name Index @ {0:x}: Entry for DIE @ {1:x} ({2}) with "
-            "name {3} missing.\n",
-            NI.getUnitOffset(), Die.getOffset(), Die.getTag(), Name);
-      });
+      ErrorCategory.Report(
+          "Name Index DIE entry missing name",
+          llvm::dwarf::TagString(Die.getTag()), [&]() {
+            error() << formatv(
+                "Name Index @ {0:x}: Entry for DIE @ {1:x} ({2}) with "
+                "name {3} missing.\n",
+                NI.getUnitOffset(), Die.getOffset(), Die.getTag(), Name);
+          });
       ++NumErrors;
     }
   }
@@ -2169,15 +2171,35 @@ bool DWARFVerifier::verifyDebugStrOffsets(
 
 void OutputCategoryAggregator::Report(
     StringRef s, std::function<void(void)> detailCallback) {
-  Aggregation[std::string(s)]++;
+  this->Report(s, "", detailCallback);
+}
+
+void OutputCategoryAggregator::Report(
+    StringRef category, StringRef sub_category,
+    std::function<void(void)> detailCallback) {
+  std::string category_str = std::string(category);
+  AggregationData *Agg = &Aggregation[category_str];
+  Agg->OverallCount++;
+  if (!sub_category.empty()) {
+    Agg->DetailedCounts[std::string(sub_category)]++;
+  }
   if (IncludeDetail)
     detailCallback();
 }
 
 void OutputCategoryAggregator::EnumerateResults(
     std::function<void(StringRef, unsigned)> handleCounts) {
-  for (auto &&[name, count] : Aggregation) {
-    handleCounts(name, count);
+  for (auto &&[name, aggData] : Aggregation) {
+    handleCounts(name, aggData.OverallCount);
+  }
+}
+void OutputCategoryAggregator::EnumerateDetailedResultsFor(
+    StringRef category, std::function<void(StringRef, unsigned)> handleCounts) {
+  auto Agg = Aggregation.find(std::string(category));
+  if (Agg != Aggregation.end()) {
+    for (auto &&[name, count] : Agg->second.DetailedCounts) {
+      handleCounts(name, count);
+    }
   }
 }
 
@@ -2204,6 +2226,12 @@ void DWARFVerifier::summarize() {
     ErrorCategory.EnumerateResults([&](StringRef Category, unsigned Count) {
       llvm::json::Object Val;
       Val.try_emplace("count", Count);
+      llvm::json::Object Details;
+      ErrorCategory.EnumerateDetailedResultsFor(
+          Category, [&](StringRef SubCategory, unsigned SubCount) {
+            Details.try_emplace(SubCategory, SubCount);
+          });
+      Val.try_emplace("details", std::move(Details));
       Categories.try_emplace(Category, std::move(Val));
       ErrorCount += Count;
     });
diff --git a/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify-completeness-json-output.s b/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify-completeness-json-output.s
new file mode 100644
index 00000000000000..9c9658308c2f90
--- /dev/null
+++ b/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify-completeness-json-output.s
@@ -0,0 +1,172 @@
+# RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj -o - | not llvm-dwarfdump -verify --verify-json=%t.json -
+# RUN: FileCheck %s --input-file %t.json
+
+# CHECK: {"error-categories":{"Name Index DIE entry missing name":{"count":10,"details":{"DW_TAG_inlined_subroutine":1,"DW_TAG_label":1,"DW_TAG_namespace":2,"DW_TAG_subprogram":2,"DW_TAG_variable":4}}},"error-count":10}
+# CHECK-NOT: error: Name Index @ 0x0: Entry for DIE @ {{.*}} (DW_TAG_variable) with name var_block_addr missing.
+
+        .section        .debug_loc,"",@progbits
+.Ldebug_loc0:
+        .quad   0
+        .quad   1
+        .short  .Lloc0_end-.Lloc0_start # Loc expr size
+.Lloc0_start:
+        .byte   3                       # DW_OP_addr
+        .quad 0x47
+.Lloc0_end:
+        .quad   0
+        .quad   0
+
+        .section        .debug_abbrev,"",@progbits
+        .byte   1                       # Abbreviation Code
+        .byte   17                      # DW_TAG_compile_unit
+        .byte   1                       # DW_CHILDREN_yes
+        .byte   37                      # DW_AT_producer
+        .byte   8                       # DW_FORM_string
+        .byte   17                      # DW_AT_low_pc
+        .byte   1                       # DW_FORM_addr
+        .byte   18                      # DW_AT_high_pc
+        .byte   6                       # DW_FORM_data4
+        .byte   0                       # EOM(1)
+        .byte   0                       # EOM(2)
+
+        .byte   2                       # Abbreviation Code
+        .byte   52                      # DW_TAG_variable
+        .byte   0                       # DW_CHILDREN_no
+        .byte   3                       # DW_AT_name
+        .byte   8                       # DW_FORM_string
+        .byte   2                       # DW_AT_location
+        .byte   24                      # DW_FORM_exprloc
+        .byte   0                       # EOM(1)
+        .byte   0                       # EOM(2)
+
+        .byte   3                       # Abbreviation Code
+        .byte   46                      # DW_TAG_subprogram
+        .byte   1                       # DW_CHILDREN_yes
+        .byte   3                       # DW_AT_name
+        .byte   8                       # DW_FORM_string
+        .byte   110                     # DW_AT_linkage_name
+        .byte   8                       # DW_FORM_string
+        .byte   82                      # DW_AT_entry_pc
+        .byte   1                       # DW_FORM_addr
+        .byte   0                       # EOM(1)
+        .byte   0                       # EOM(2)
+
+        .byte   4                       # Abbreviation Code
+        .byte   57                      # DW_TAG_namespace
+        .byte   1                       # DW_CHILDREN_yes
+        .byte   3                       # DW_AT_name
+        .byte   8                       # DW_FORM_string
+        .byte   0                       # EOM(1)
+        .byte   0                       # EOM(2)
+
+        .byte   5                       # Abbreviation Code
+        .byte   52                      # DW_TAG_variable
+        .byte   0                       # DW_CHILDREN_no
+        .byte   3                       # DW_AT_name
+        .byte   8                       # DW_FORM_string
+        .byte   2                       # DW_AT_location
+        .byte   23                      # DW_FORM_sec_offset
+        .byte   0                       # EOM(1)
+        .byte   0                       # EOM(2)
+
+        .byte   6                       # Abbreviation Code
+        .byte   57                      # DW_TAG_namespace
+        .byte   1                       # DW_CHILDREN_yes
+        .byte   0                       # EOM(1)
+        .byte   0                       # EOM(2)
+
+        .byte   7                       # Abbreviation Code
+        .byte   29                      # DW_TAG_inlined_subroutine
+        .byte   0                       # DW_CHILDREN_no
+        .byte   3                       # DW_AT_name
+        .byte   8                       # DW_FORM_string
+        .byte   17                      # DW_AT_low_pc
+        .byte   1                       # DW_FORM_addr
+        .byte   18                      # DW_AT_high_pc
+        .byte   1                       # DW_FORM_addr
+        .byte   0                       # EOM(1)
+        .byte   0                       # EOM(2)
+
+        .byte   8                       # Abbreviation Code
+        .byte   10                      # DW_TAG_label
+        .byte   0                       # DW_CHILDREN_no
+        .byte   3                       # DW_AT_name
+        .byte   8                       # DW_FORM_string
+        .byte   82                      # DW_AT_entry_pc
+        .byte   1                       # DW_FORM_addr
+        .byte   0                       # EOM(1)
+        .byte   0                       # EOM(2)
+
+        .byte   0                       # EOM(3)
+        .section        .debug_info,"",@progbits
+
+.Lcu_begin0:
+        .long   .Lcu_end0-.Lcu_start0   # Length of Unit
+.Lcu_start0:
+        .short  4                       # DWARF version number
+        .long   .debug_abbrev           # Offset Into Abbrev. Section
+        .byte   8                       # Address Size (in bytes)
+        .byte   1                       # Abbrev [1] DW_TAG_compile_unit
+        .asciz  "hand-written DWARF"    # DW_AT_producer
+        .quad   0x0                     # DW_AT_low_pc
+        .long   0x100                   # DW_AT_high_pc
+
+        .byte   4                       # Abbrev [4] DW_TAG_namespace
+        .asciz  "namesp"                # DW_AT_name
+        .byte   2                       # Abbrev [2] DW_TAG_variable
+        .asciz  "var_block_addr"        # DW_AT_name
+        .byte   9                       # DW_AT_location
+        .byte   3                       # DW_OP_addr
+        .quad   0x47
+        .byte   0                       # End Of Children Mark
+
+        .byte   6                       # Abbrev [6] DW_TAG_namespace
+        .byte   5                       # Abbrev [5] DW_TAG_variable
+        .asciz  "var_loc_addr"          # DW_AT_name
+        .long   .Ldebug_loc0            # DW_AT_location
+        .byte   0                       # End Of Children Mark
+
+        .byte   2                       # Abbrev [2] DW_TAG_variable
+        .asciz  "var_loc_tls"           # DW_AT_name
+        .byte   1                       # DW_AT_location
+        .byte   0x9b                    # DW_OP_form_tls_address
+
+        .byte   2                       # Abbrev [2] DW_TAG_variable
+        .asciz  "var_loc_gnu_tls"       # DW_AT_name
+        .byte   1                       # DW_AT_location
+        .byte   0xe0                    # DW_OP_GNU_push_tls_address
+
+        .byte   3                       # Abbrev [3] DW_TAG_subprogram
+        .asciz  "fun_name"              # DW_AT_name
+        .asciz  "_Z8fun_name"           # DW_AT_linkage_name
+        .quad   0x47                    # DW_AT_entry_pc
+        .byte   7                       # Abbrev [7] DW_TAG_inlined_subroutine
+        .asciz  "fun_inline"            # DW_AT_name
+        .quad   0x48                    # DW_AT_low_pc
+        .quad   0x49                    # DW_AT_high_pc
+        .byte   8                       # Abbrev [8] DW_TAG_label
+        .asciz  "label"                 # DW_AT_name
+        .quad   0x4a                    # DW_AT_entry_pc
+        .byte   0                       # End Of Children Mark
+
+        .byte   0                       # End Of Children Mark
+.Lcu_end0:
+
+        .section        .debug_names,"",@progbits
+        .long   .Lnames_end0-.Lnames_start0 # Header: contribution length
+.Lnames_start0:
+        .short  5                       # Header: version
+        .short  0                       # Header: padding
+        .long   1                       # Header: compilation unit count
+        .long   0                       # Header: local type unit count
+        .long   0                       # Header: foreign type unit count
+        .long   0                       # Header: bucket count
+        .long   0                       # Header: name count
+        .long   .Lnames_abbrev_end0-.Lnames_abbrev_start0 # Header: abbreviation table size
+        .long   0                       # Header: augmentation length
+        .long   .Lcu_begin0             # Compilation unit 0
+.Lnames_abbrev_start0:
+        .byte   0                       # End of abbrev list
+.Lnames_abbrev_end0:
+.Lnames_entries0:
+.Lnames_end0:
diff --git a/llvm/test/tools/llvm-dwarfdump/X86/dwarf-verify-good-json-output.s b/llvm/test/tools/llvm-dwarfdump/X86/dwarf-verify-good-json-output.s
new file mode 100644
index 00000000000000..6f4b1cdedf83ab
--- /dev/null
+++ b/llvm/test/tools/llvm-dwarfdump/X86/dwarf-verify-good-json-output.s
@@ -0,0 +1,32 @@
+# RUN: llvm-mc %s -filetype obj -triple x86_64-apple-darwin -o - | llvm-dwarfdump -verify --verify-json=%t.json -
+# RUN: FileCheck %s --input-file %t.json
+
+# CHECK: {"error-categories":{},"error-count":0}
+
+# This test is meant to verify that the -verify option
+# in llvm-dwarfdump doesn't produce any .apple_names related
+# output when there's no such section in the object.
+# The test was manually modified to exclude the
+# .apple_names section from the apple_names_verify_num_atoms.s
+# test file in the same directory.
+
+  .section  __TEXT,__text,regular,pure_instructions
+  .file 1 "basic.c"
+  .comm _i,4,2                  ## @i
+  .comm _j,4,2                  ## @j
+  .section  __DWARF,__debug_str,regular,debug
+Linfo_string:
+  .asciz  "Apple LLVM version 8.1.0 (clang-802.0.35)" ## string offset=0
+  .asciz  "basic.c"               ## string offset=42
+  .asciz  "/Users/sgravani/Development/tests" ## string offset=50
+  .asciz  "i"                     ## string offset=84
+  .asciz  "int"                   ## string offset=86
+  .asciz  "j"                     ## string offset=90
+
+  .section  __DWARF,__debug_info,regular,debug
+Lsection_info:
+
+.subsections_via_symbols
+  .section  __DWARF,__debug_line,regular,debug
+Lsection_line:
+Lline_table_start0:

@youngd007
Copy link
Contributor Author

@clayborg here are the real changes to dwarf verification.
cc @jeffreytan81

@youngd007
Copy link
Contributor Author

@clayborg & @jeffreytan81 pinging again. Do I need to redo this pull request?

Copy link
Collaborator

@clayborg clayborg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I will accept and and give a few days for others to chime in.

@clayborg clayborg merged commit 13f6301 into llvm:main Feb 10, 2025
10 checks passed
Copy link

@youngd007 Congratulations on having your first Pull Request (PR) merged into the LLVM Project!

Your changes will be combined with recent changes from other authors, then tested by our build bots. If there is a problem with a build, you may receive a report in an email or a comment on this PR.

Please check whether problems have been caused by your change specifically, as the builds can include changes from many authors. It is not uncommon for your change to be included in a build that fails due to someone else's changes, or infrastructure issues.

How to do this, and the rest of the post-merge process, is covered in detail here.

If your change does cause a problem, it may be reverted, or you can revert it yourself. This is a normal part of LLVM development. You can fix your changes and open a new PR to merge them again.

If you don't get any reports, no action is required from you. Your changes are working as expected, well done!

@llvm-ci
Copy link
Collaborator

llvm-ci commented Feb 10, 2025

LLVM Buildbot has detected a new failure on builder openmp-offload-sles-build-only running on rocm-worker-hw-04-sles while building llvm at step 8 "Add check check-llvm".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/140/builds/16658

Here is the relevant piece of the build log for the reference
Step 8 (Add check check-llvm) failure: test (failure)
******************** TEST 'LLVM :: tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
Verifying -:	file format elf64-x86-64
Verifying .debug_abbrev...
Verifying .debug_info Unit Header Chain...
Verifying .debug_types Unit Header Chain...
Verifying non-dwo Units...
Verifying unit: 1 / 1
Verifying dwo Units...
Verifying .debug_line...
Verifying .debug_str_offsets...
Verifying .debug_names...
warning: Name Index @ 0x0 does not contain a hash table.
error: Name Index @ 0x0: Entry for DIE @ 0x2b (DW_TAG_namespace) with name namesp missing.
error: Name Index @ 0x0: Entry for DIE @ 0x33 (DW_TAG_variable) with name var_block_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4e (DW_TAG_namespace) with name (anonymous namespace) missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4f (DW_TAG_variable) with name var_loc_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x62 (DW_TAG_variable) with name var_loc_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x71 (DW_TAG_variable) with name var_loc_gnu_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name _Z8fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0xa2 (DW_TAG_inlined_subroutine) with name fun_inline missing.
error: Name Index @ 0x0: Entry for DIE @ 0xbe (DW_TAG_label) with name label missing.
error: Aggregated error counts:
error: Name Index DIE entry missing name occurred 10 time(s).
Errors detected.

--
Command Output (stderr):
--
RUN: at line 1: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/llvm-mc -triple x86_64-pc-linux /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o - | /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/not /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/llvm-dwarfdump -verify --verify-json=/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/llvm-mc -triple x86_64-pc-linux /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o -
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/not /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/llvm-dwarfdump -verify --verify-json=/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
RUN: at line 2: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s:4:10: error: CHECK: expected string not found in input
# CHECK: {"error-categories":{"Name Index DIE entry missing name":{"count":10}},"error-count":10}
         ^
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json:1:1: note: scanning from here
{"error-categories":{"Name Index DIE entry missing name":{"count":10,"details":{"DW_TAG_inlined_subroutine":1,"DW_TAG_label":1,"DW_TAG_namespace":2,"DW_TAG_subprogram":2,"DW_TAG_variable":4}}},"error-count":10}
^

Input file: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
Check file: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s

-dump-input=help explains the following input dump.

...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Feb 10, 2025

LLVM Buildbot has detected a new failure on builder arc-builder running on arc-worker while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/3/builds/11547

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
Verifying -:	file format elf64-x86-64
Verifying .debug_abbrev...
Verifying .debug_info Unit Header Chain...
Verifying .debug_types Unit Header Chain...
Verifying non-dwo Units...
Verifying unit: 1 / 1
Verifying dwo Units...
Verifying .debug_line...
Verifying .debug_str_offsets...
Verifying .debug_names...
warning: Name Index @ 0x0 does not contain a hash table.
error: Name Index @ 0x0: Entry for DIE @ 0x2b (DW_TAG_namespace) with name namesp missing.
error: Name Index @ 0x0: Entry for DIE @ 0x33 (DW_TAG_variable) with name var_block_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4e (DW_TAG_namespace) with name (anonymous namespace) missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4f (DW_TAG_variable) with name var_loc_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x62 (DW_TAG_variable) with name var_loc_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x71 (DW_TAG_variable) with name var_loc_gnu_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name _Z8fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0xa2 (DW_TAG_inlined_subroutine) with name fun_inline missing.
error: Name Index @ 0x0: Entry for DIE @ 0xbe (DW_TAG_label) with name label missing.
error: Aggregated error counts:
error: Name Index DIE entry missing name occurred 10 time(s).
Errors detected.

--
Command Output (stderr):
--
RUN: at line 1: /buildbot/worker/arc-folder/build/bin/llvm-mc -triple x86_64-pc-linux /buildbot/worker/arc-folder/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o - | /buildbot/worker/arc-folder/build/bin/not /buildbot/worker/arc-folder/build/bin/llvm-dwarfdump -verify --verify-json=/buildbot/worker/arc-folder/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
+ /buildbot/worker/arc-folder/build/bin/llvm-mc -triple x86_64-pc-linux /buildbot/worker/arc-folder/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o -
+ /buildbot/worker/arc-folder/build/bin/not /buildbot/worker/arc-folder/build/bin/llvm-dwarfdump -verify --verify-json=/buildbot/worker/arc-folder/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
RUN: at line 2: /buildbot/worker/arc-folder/build/bin/FileCheck /buildbot/worker/arc-folder/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /buildbot/worker/arc-folder/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
+ /buildbot/worker/arc-folder/build/bin/FileCheck /buildbot/worker/arc-folder/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /buildbot/worker/arc-folder/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
/buildbot/worker/arc-folder/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s:4:10: error: CHECK: expected string not found in input
# CHECK: {"error-categories":{"Name Index DIE entry missing name":{"count":10}},"error-count":10}
         ^
/buildbot/worker/arc-folder/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json:1:1: note: scanning from here
{"error-categories":{"Name Index DIE entry missing name":{"count":10,"details":{"DW_TAG_inlined_subroutine":1,"DW_TAG_label":1,"DW_TAG_namespace":2,"DW_TAG_subprogram":2,"DW_TAG_variable":4}}},"error-count":10}
^

Input file: /buildbot/worker/arc-folder/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
Check file: /buildbot/worker/arc-folder/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s

-dump-input=help explains the following input dump.

...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Feb 10, 2025

LLVM Buildbot has detected a new failure on builder clang-m68k-linux-cross running on suse-gary-m68k-cross while building llvm at step 5 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/27/builds/5943

Here is the relevant piece of the build log for the reference
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
Verifying -:	file format elf64-x86-64
Verifying .debug_abbrev...
Verifying .debug_info Unit Header Chain...
Verifying .debug_types Unit Header Chain...
Verifying non-dwo Units...
Verifying unit: 1 / 1
Verifying dwo Units...
Verifying .debug_line...
Verifying .debug_str_offsets...
Verifying .debug_names...
warning: Name Index @ 0x0 does not contain a hash table.
error: Name Index @ 0x0: Entry for DIE @ 0x2b (DW_TAG_namespace) with name namesp missing.
error: Name Index @ 0x0: Entry for DIE @ 0x33 (DW_TAG_variable) with name var_block_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4e (DW_TAG_namespace) with name (anonymous namespace) missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4f (DW_TAG_variable) with name var_loc_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x62 (DW_TAG_variable) with name var_loc_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x71 (DW_TAG_variable) with name var_loc_gnu_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name _Z8fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0xa2 (DW_TAG_inlined_subroutine) with name fun_inline missing.
error: Name Index @ 0x0: Entry for DIE @ 0xbe (DW_TAG_label) with name label missing.
error: Aggregated error counts:
error: Name Index DIE entry missing name occurred 10 time(s).
Errors detected.

--
Command Output (stderr):
--
RUN: at line 1: /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/llvm-mc -triple x86_64-pc-linux /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o - | /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/not /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/llvm-dwarfdump -verify --verify-json=/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
+ /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/llvm-mc -triple x86_64-pc-linux /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o -
+ /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/not /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/llvm-dwarfdump -verify --verify-json=/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
RUN: at line 2: /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/FileCheck /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
+ /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/FileCheck /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s:4:10: error: CHECK: expected string not found in input
# CHECK: {"error-categories":{"Name Index DIE entry missing name":{"count":10}},"error-count":10}
         ^
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json:1:1: note: scanning from here
{"error-categories":{"Name Index DIE entry missing name":{"count":10,"details":{"DW_TAG_inlined_subroutine":1,"DW_TAG_label":1,"DW_TAG_namespace":2,"DW_TAG_subprogram":2,"DW_TAG_variable":4}}},"error-count":10}
^

Input file: /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
Check file: /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s

-dump-input=help explains the following input dump.

...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Feb 10, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-sie-ubuntu-fast running on sie-linux-worker while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/144/builds/17792

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
Verifying -:	file format elf64-x86-64
Verifying .debug_abbrev...
Verifying .debug_info Unit Header Chain...
Verifying .debug_types Unit Header Chain...
Verifying non-dwo Units...
Verifying unit: 1 / 1
Verifying dwo Units...
Verifying .debug_line...
Verifying .debug_str_offsets...
Verifying .debug_names...
warning: Name Index @ 0x0 does not contain a hash table.
error: Name Index @ 0x0: Entry for DIE @ 0x2b (DW_TAG_namespace) with name namesp missing.
error: Name Index @ 0x0: Entry for DIE @ 0x33 (DW_TAG_variable) with name var_block_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4e (DW_TAG_namespace) with name (anonymous namespace) missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4f (DW_TAG_variable) with name var_loc_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x62 (DW_TAG_variable) with name var_loc_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x71 (DW_TAG_variable) with name var_loc_gnu_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name _Z8fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0xa2 (DW_TAG_inlined_subroutine) with name fun_inline missing.
error: Name Index @ 0x0: Entry for DIE @ 0xbe (DW_TAG_label) with name label missing.
error: Aggregated error counts:
error: Name Index DIE entry missing name occurred 10 time(s).
Errors detected.

--
Command Output (stderr):
--
RUN: at line 1: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-mc -triple x86_64-pc-linux /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o - | /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/not /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-dwarfdump -verify --verify-json=/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/not /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-dwarfdump -verify --verify-json=/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-mc -triple x86_64-pc-linux /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o -
RUN: at line 2: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
�[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s:4:10: �[0m�[0;1;31merror: �[0m�[1mCHECK: expected string not found in input
�[0m# CHECK: {"error-categories":{"Name Index DIE entry missing name":{"count":10}},"error-count":10}
�[0;1;32m         ^
�[0m�[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json:1:1: �[0m�[0;1;30mnote: �[0m�[1mscanning from here
�[0m{"error-categories":{"Name Index DIE entry missing name":{"count":10,"details":{"DW_TAG_inlined_subroutine":1,"DW_TAG_label":1,"DW_TAG_namespace":2,"DW_TAG_subprogram":2,"DW_TAG_variable":4}}},"error-count":10}
�[0;1;32m^
�[0m
Input file: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s

-dump-input=help explains the following input dump.

...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Feb 10, 2025

LLVM Buildbot has detected a new failure on builder ml-opt-dev-x86-64 running on ml-opt-dev-x86-64-b1 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/137/builds/13142

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
Verifying -:	file format elf64-x86-64
Verifying .debug_abbrev...
Verifying .debug_info Unit Header Chain...
Verifying .debug_types Unit Header Chain...
Verifying non-dwo Units...
Verifying unit: 1 / 1
Verifying dwo Units...
Verifying .debug_line...
Verifying .debug_str_offsets...
Verifying .debug_names...
warning: Name Index @ 0x0 does not contain a hash table.
error: Name Index @ 0x0: Entry for DIE @ 0x2b (DW_TAG_namespace) with name namesp missing.
error: Name Index @ 0x0: Entry for DIE @ 0x33 (DW_TAG_variable) with name var_block_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4e (DW_TAG_namespace) with name (anonymous namespace) missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4f (DW_TAG_variable) with name var_loc_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x62 (DW_TAG_variable) with name var_loc_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x71 (DW_TAG_variable) with name var_loc_gnu_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name _Z8fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0xa2 (DW_TAG_inlined_subroutine) with name fun_inline missing.
error: Name Index @ 0x0: Entry for DIE @ 0xbe (DW_TAG_label) with name label missing.
error: Aggregated error counts:
error: Name Index DIE entry missing name occurred 10 time(s).
Errors detected.

--
Command Output (stderr):
--
RUN: at line 1: /b/ml-opt-dev-x86-64-b1/build/bin/llvm-mc -triple x86_64-pc-linux /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o - | /b/ml-opt-dev-x86-64-b1/build/bin/not /b/ml-opt-dev-x86-64-b1/build/bin/llvm-dwarfdump -verify --verify-json=/b/ml-opt-dev-x86-64-b1/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
+ /b/ml-opt-dev-x86-64-b1/build/bin/llvm-mc -triple x86_64-pc-linux /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o -
+ /b/ml-opt-dev-x86-64-b1/build/bin/not /b/ml-opt-dev-x86-64-b1/build/bin/llvm-dwarfdump -verify --verify-json=/b/ml-opt-dev-x86-64-b1/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
RUN: at line 2: /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /b/ml-opt-dev-x86-64-b1/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
+ /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /b/ml-opt-dev-x86-64-b1/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
/b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s:4:10: error: CHECK: expected string not found in input
# CHECK: {"error-categories":{"Name Index DIE entry missing name":{"count":10}},"error-count":10}
         ^
/b/ml-opt-dev-x86-64-b1/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json:1:1: note: scanning from here
{"error-categories":{"Name Index DIE entry missing name":{"count":10,"details":{"DW_TAG_inlined_subroutine":1,"DW_TAG_label":1,"DW_TAG_namespace":2,"DW_TAG_subprogram":2,"DW_TAG_variable":4}}},"error-count":10}
^

Input file: /b/ml-opt-dev-x86-64-b1/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
Check file: /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s

-dump-input=help explains the following input dump.

...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Feb 10, 2025

LLVM Buildbot has detected a new failure on builder ml-opt-rel-x86-64 running on ml-opt-rel-x86-64-b1 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/185/builds/12953

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
Verifying -:	file format elf64-x86-64
Verifying .debug_abbrev...
Verifying .debug_info Unit Header Chain...
Verifying .debug_types Unit Header Chain...
Verifying non-dwo Units...
Verifying unit: 1 / 1
Verifying dwo Units...
Verifying .debug_line...
Verifying .debug_str_offsets...
Verifying .debug_names...
warning: Name Index @ 0x0 does not contain a hash table.
error: Name Index @ 0x0: Entry for DIE @ 0x2b (DW_TAG_namespace) with name namesp missing.
error: Name Index @ 0x0: Entry for DIE @ 0x33 (DW_TAG_variable) with name var_block_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4e (DW_TAG_namespace) with name (anonymous namespace) missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4f (DW_TAG_variable) with name var_loc_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x62 (DW_TAG_variable) with name var_loc_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x71 (DW_TAG_variable) with name var_loc_gnu_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name _Z8fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0xa2 (DW_TAG_inlined_subroutine) with name fun_inline missing.
error: Name Index @ 0x0: Entry for DIE @ 0xbe (DW_TAG_label) with name label missing.
error: Aggregated error counts:
error: Name Index DIE entry missing name occurred 10 time(s).
Errors detected.

--
Command Output (stderr):
--
RUN: at line 1: /b/ml-opt-rel-x86-64-b1/build/bin/llvm-mc -triple x86_64-pc-linux /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o - | /b/ml-opt-rel-x86-64-b1/build/bin/not /b/ml-opt-rel-x86-64-b1/build/bin/llvm-dwarfdump -verify --verify-json=/b/ml-opt-rel-x86-64-b1/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
+ /b/ml-opt-rel-x86-64-b1/build/bin/llvm-mc -triple x86_64-pc-linux /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o -
+ /b/ml-opt-rel-x86-64-b1/build/bin/not /b/ml-opt-rel-x86-64-b1/build/bin/llvm-dwarfdump -verify --verify-json=/b/ml-opt-rel-x86-64-b1/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
RUN: at line 2: /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /b/ml-opt-rel-x86-64-b1/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
+ /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /b/ml-opt-rel-x86-64-b1/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s:4:10: error: CHECK: expected string not found in input
# CHECK: {"error-categories":{"Name Index DIE entry missing name":{"count":10}},"error-count":10}
         ^
/b/ml-opt-rel-x86-64-b1/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json:1:1: note: scanning from here
{"error-categories":{"Name Index DIE entry missing name":{"count":10,"details":{"DW_TAG_inlined_subroutine":1,"DW_TAG_label":1,"DW_TAG_namespace":2,"DW_TAG_subprogram":2,"DW_TAG_variable":4}}},"error-count":10}
^

Input file: /b/ml-opt-rel-x86-64-b1/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
Check file: /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s

-dump-input=help explains the following input dump.

...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Feb 10, 2025

LLVM Buildbot has detected a new failure on builder ml-opt-devrel-x86-64 running on ml-opt-devrel-x86-64-b2 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/175/builds/13000

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
Verifying -:	file format elf64-x86-64
Verifying .debug_abbrev...
Verifying .debug_info Unit Header Chain...
Verifying .debug_types Unit Header Chain...
Verifying non-dwo Units...
Verifying unit: 1 / 1
Verifying dwo Units...
Verifying .debug_line...
Verifying .debug_str_offsets...
Verifying .debug_names...
warning: Name Index @ 0x0 does not contain a hash table.
error: Name Index @ 0x0: Entry for DIE @ 0x2b (DW_TAG_namespace) with name namesp missing.
error: Name Index @ 0x0: Entry for DIE @ 0x33 (DW_TAG_variable) with name var_block_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4e (DW_TAG_namespace) with name (anonymous namespace) missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4f (DW_TAG_variable) with name var_loc_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x62 (DW_TAG_variable) with name var_loc_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x71 (DW_TAG_variable) with name var_loc_gnu_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name _Z8fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0xa2 (DW_TAG_inlined_subroutine) with name fun_inline missing.
error: Name Index @ 0x0: Entry for DIE @ 0xbe (DW_TAG_label) with name label missing.
error: Aggregated error counts:
error: Name Index DIE entry missing name occurred 10 time(s).
Errors detected.

--
Command Output (stderr):
--
RUN: at line 1: /b/ml-opt-devrel-x86-64-b1/build/bin/llvm-mc -triple x86_64-pc-linux /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o - | /b/ml-opt-devrel-x86-64-b1/build/bin/not /b/ml-opt-devrel-x86-64-b1/build/bin/llvm-dwarfdump -verify --verify-json=/b/ml-opt-devrel-x86-64-b1/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
+ /b/ml-opt-devrel-x86-64-b1/build/bin/llvm-mc -triple x86_64-pc-linux /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o -
+ /b/ml-opt-devrel-x86-64-b1/build/bin/not /b/ml-opt-devrel-x86-64-b1/build/bin/llvm-dwarfdump -verify --verify-json=/b/ml-opt-devrel-x86-64-b1/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
RUN: at line 2: /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /b/ml-opt-devrel-x86-64-b1/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
+ /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /b/ml-opt-devrel-x86-64-b1/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
/b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s:4:10: error: CHECK: expected string not found in input
# CHECK: {"error-categories":{"Name Index DIE entry missing name":{"count":10}},"error-count":10}
         ^
/b/ml-opt-devrel-x86-64-b1/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json:1:1: note: scanning from here
{"error-categories":{"Name Index DIE entry missing name":{"count":10,"details":{"DW_TAG_inlined_subroutine":1,"DW_TAG_label":1,"DW_TAG_namespace":2,"DW_TAG_subprogram":2,"DW_TAG_variable":4}}},"error-count":10}
^

Input file: /b/ml-opt-devrel-x86-64-b1/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
Check file: /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s

-dump-input=help explains the following input dump.

...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Feb 10, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-gcc-ubuntu running on sie-linux-worker3 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/174/builds/12820

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
Verifying -:	file format elf64-x86-64
Verifying .debug_abbrev...
Verifying .debug_info Unit Header Chain...
Verifying .debug_types Unit Header Chain...
Verifying non-dwo Units...
Verifying unit: 1 / 1
Verifying dwo Units...
Verifying .debug_line...
Verifying .debug_str_offsets...
Verifying .debug_names...
warning: Name Index @ 0x0 does not contain a hash table.
error: Name Index @ 0x0: Entry for DIE @ 0x2b (DW_TAG_namespace) with name namesp missing.
error: Name Index @ 0x0: Entry for DIE @ 0x33 (DW_TAG_variable) with name var_block_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4e (DW_TAG_namespace) with name (anonymous namespace) missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4f (DW_TAG_variable) with name var_loc_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x62 (DW_TAG_variable) with name var_loc_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x71 (DW_TAG_variable) with name var_loc_gnu_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name _Z8fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0xa2 (DW_TAG_inlined_subroutine) with name fun_inline missing.
error: Name Index @ 0x0: Entry for DIE @ 0xbe (DW_TAG_label) with name label missing.
error: Aggregated error counts:
error: Name Index DIE entry missing name occurred 10 time(s).
Errors detected.

--
Command Output (stderr):
--
RUN: at line 1: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llvm-mc -triple x86_64-pc-linux /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o - | /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/not /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llvm-dwarfdump -verify --verify-json=/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llvm-mc -triple x86_64-pc-linux /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o -
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/not /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llvm-dwarfdump -verify --verify-json=/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
RUN: at line 2: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
�[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s:4:10: �[0m�[0;1;31merror: �[0m�[1mCHECK: expected string not found in input
�[0m# CHECK: {"error-categories":{"Name Index DIE entry missing name":{"count":10}},"error-count":10}
�[0;1;32m         ^
�[0m�[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json:1:1: �[0m�[0;1;30mnote: �[0m�[1mscanning from here
�[0m{"error-categories":{"Name Index DIE entry missing name":{"count":10,"details":{"DW_TAG_inlined_subroutine":1,"DW_TAG_label":1,"DW_TAG_namespace":2,"DW_TAG_subprogram":2,"DW_TAG_variable":4}}},"error-count":10}
�[0;1;32m^
�[0m
Input file: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s

-dump-input=help explains the following input dump.

...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Feb 10, 2025

LLVM Buildbot has detected a new failure on builder llvm-nvptx-nvidia-ubuntu running on as-builder-7 while building llvm at step 6 "test-build-unified-tree-check-llvm".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/180/builds/12792

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-llvm) failure: test (failure)
******************** TEST 'LLVM :: tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
Verifying -:	file format elf64-x86-64
Verifying .debug_abbrev...
Verifying .debug_info Unit Header Chain...
Verifying .debug_types Unit Header Chain...
Verifying non-dwo Units...
Verifying unit: 1 / 1
Verifying dwo Units...
Verifying .debug_line...
Verifying .debug_str_offsets...
Verifying .debug_names...
warning: Name Index @ 0x0 does not contain a hash table.
error: Name Index @ 0x0: Entry for DIE @ 0x2b (DW_TAG_namespace) with name namesp missing.
error: Name Index @ 0x0: Entry for DIE @ 0x33 (DW_TAG_variable) with name var_block_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4e (DW_TAG_namespace) with name (anonymous namespace) missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4f (DW_TAG_variable) with name var_loc_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x62 (DW_TAG_variable) with name var_loc_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x71 (DW_TAG_variable) with name var_loc_gnu_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name _Z8fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0xa2 (DW_TAG_inlined_subroutine) with name fun_inline missing.
error: Name Index @ 0x0: Entry for DIE @ 0xbe (DW_TAG_label) with name label missing.
error: Aggregated error counts:
error: Name Index DIE entry missing name occurred 10 time(s).
Errors detected.

--
Command Output (stderr):
--
RUN: at line 1: /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/bin/llvm-mc -triple x86_64-pc-linux /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o - | /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/bin/not /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/bin/llvm-dwarfdump -verify --verify-json=/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
+ /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/bin/not /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/bin/llvm-dwarfdump -verify --verify-json=/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
+ /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/bin/llvm-mc -triple x86_64-pc-linux /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o -
RUN: at line 2: /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/bin/FileCheck /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
+ /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/bin/FileCheck /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s:4:10: error: CHECK: expected string not found in input
# CHECK: {"error-categories":{"Name Index DIE entry missing name":{"count":10}},"error-count":10}
         ^
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json:1:1: note: scanning from here
{"error-categories":{"Name Index DIE entry missing name":{"count":10,"details":{"DW_TAG_inlined_subroutine":1,"DW_TAG_label":1,"DW_TAG_namespace":2,"DW_TAG_subprogram":2,"DW_TAG_variable":4}}},"error-count":10}
^

Input file: /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
Check file: /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s

-dump-input=help explains the following input dump.

...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Feb 10, 2025

LLVM Buildbot has detected a new failure on builder llvm-nvptx64-nvidia-ubuntu running on as-builder-7 while building llvm at step 6 "test-build-unified-tree-check-llvm".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/160/builds/12795

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-llvm) failure: test (failure)
******************** TEST 'LLVM :: tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
Verifying -:	file format elf64-x86-64
Verifying .debug_abbrev...
Verifying .debug_info Unit Header Chain...
Verifying .debug_types Unit Header Chain...
Verifying non-dwo Units...
Verifying unit: 1 / 1
Verifying dwo Units...
Verifying .debug_line...
Verifying .debug_str_offsets...
Verifying .debug_names...
warning: Name Index @ 0x0 does not contain a hash table.
error: Name Index @ 0x0: Entry for DIE @ 0x2b (DW_TAG_namespace) with name namesp missing.
error: Name Index @ 0x0: Entry for DIE @ 0x33 (DW_TAG_variable) with name var_block_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4e (DW_TAG_namespace) with name (anonymous namespace) missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4f (DW_TAG_variable) with name var_loc_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x62 (DW_TAG_variable) with name var_loc_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x71 (DW_TAG_variable) with name var_loc_gnu_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name _Z8fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0xa2 (DW_TAG_inlined_subroutine) with name fun_inline missing.
error: Name Index @ 0x0: Entry for DIE @ 0xbe (DW_TAG_label) with name label missing.
error: Aggregated error counts:
error: Name Index DIE entry missing name occurred 10 time(s).
Errors detected.

--
Command Output (stderr):
--
RUN: at line 1: /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/bin/llvm-mc -triple x86_64-pc-linux /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o - | /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/bin/not /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/bin/llvm-dwarfdump -verify --verify-json=/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
+ /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/bin/llvm-mc -triple x86_64-pc-linux /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o -
+ /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/bin/not /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/bin/llvm-dwarfdump -verify --verify-json=/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
RUN: at line 2: /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/bin/FileCheck /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
+ /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/bin/FileCheck /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s:4:10: error: CHECK: expected string not found in input
# CHECK: {"error-categories":{"Name Index DIE entry missing name":{"count":10}},"error-count":10}
         ^
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json:1:1: note: scanning from here
{"error-categories":{"Name Index DIE entry missing name":{"count":10,"details":{"DW_TAG_inlined_subroutine":1,"DW_TAG_label":1,"DW_TAG_namespace":2,"DW_TAG_subprogram":2,"DW_TAG_variable":4}}},"error-count":10}
^

Input file: /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
Check file: /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s

-dump-input=help explains the following input dump.

...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Feb 10, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-darwin running on doug-worker-3 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/23/builds/7456

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
Verifying -:	file format elf64-x86-64
Verifying .debug_abbrev...
Verifying .debug_info Unit Header Chain...
Verifying .debug_types Unit Header Chain...
Verifying non-dwo Units...
Verifying unit: 1 / 1
Verifying dwo Units...
Verifying .debug_line...
Verifying .debug_str_offsets...
Verifying .debug_names...
warning: Name Index @ 0x0 does not contain a hash table.
error: Name Index @ 0x0: Entry for DIE @ 0x2b (DW_TAG_namespace) with name namesp missing.
error: Name Index @ 0x0: Entry for DIE @ 0x33 (DW_TAG_variable) with name var_block_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4e (DW_TAG_namespace) with name (anonymous namespace) missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4f (DW_TAG_variable) with name var_loc_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x62 (DW_TAG_variable) with name var_loc_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x71 (DW_TAG_variable) with name var_loc_gnu_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name _Z8fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0xa2 (DW_TAG_inlined_subroutine) with name fun_inline missing.
error: Name Index @ 0x0: Entry for DIE @ 0xbe (DW_TAG_label) with name label missing.
error: Aggregated error counts:
error: Name Index DIE entry missing name occurred 10 time(s).
Errors detected.

--
Command Output (stderr):
--
RUN: at line 1: /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/llvm-mc -triple x86_64-pc-linux /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o - | /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/not /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/llvm-dwarfdump -verify --verify-json=/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
+ /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/llvm-mc -triple x86_64-pc-linux /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o -
+ /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/not /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/llvm-dwarfdump -verify --verify-json=/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
RUN: at line 2: /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/FileCheck /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
+ /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/FileCheck /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s:4:10: error: CHECK: expected string not found in input
# CHECK: {"error-categories":{"Name Index DIE entry missing name":{"count":10}},"error-count":10}
         ^
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json:1:1: note: scanning from here
{"error-categories":{"Name Index DIE entry missing name":{"count":10,"details":{"DW_TAG_inlined_subroutine":1,"DW_TAG_label":1,"DW_TAG_namespace":2,"DW_TAG_subprogram":2,"DW_TAG_variable":4}}},"error-count":10}
^

Input file: /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
Check file: /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s

-dump-input=help explains the following input dump.

...

nico added a commit that referenced this pull request Feb 10, 2025
@nico
Copy link
Contributor

nico commented Feb 10, 2025

Looks like the new test isn't passing, see the many reports above. (Here's another: http://45.33.8.238/linux/159907/step_11.txt).

I've reverted it for now. Please reland once tests pass :)

@llvm-ci
Copy link
Collaborator

llvm-ci commented Feb 10, 2025

LLVM Buildbot has detected a new failure on builder ppc64le-lld-multistage-test running on ppc64le-lld-multistage-test while building llvm at step 7 "test-build-stage1-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/168/builds/8563

Here is the relevant piece of the build log for the reference
Step 7 (test-build-stage1-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
Verifying -:	file format elf64-x86-64
Verifying .debug_abbrev...
Verifying .debug_info Unit Header Chain...
Verifying .debug_types Unit Header Chain...
Verifying non-dwo Units...
Verifying unit: 1 / 1
Verifying dwo Units...
Verifying .debug_line...
Verifying .debug_str_offsets...
Verifying .debug_names...
warning: Name Index @ 0x0 does not contain a hash table.
error: Name Index @ 0x0: Entry for DIE @ 0x2b (DW_TAG_namespace) with name namesp missing.
error: Name Index @ 0x0: Entry for DIE @ 0x33 (DW_TAG_variable) with name var_block_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4e (DW_TAG_namespace) with name (anonymous namespace) missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4f (DW_TAG_variable) with name var_loc_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x62 (DW_TAG_variable) with name var_loc_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x71 (DW_TAG_variable) with name var_loc_gnu_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name _Z8fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0xa2 (DW_TAG_inlined_subroutine) with name fun_inline missing.
error: Name Index @ 0x0: Entry for DIE @ 0xbe (DW_TAG_label) with name label missing.
error: Aggregated error counts:
error: Name Index DIE entry missing name occurred 10 time(s).
Errors detected.

--
Command Output (stderr):
--
RUN: at line 1: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/llvm-mc -triple x86_64-pc-linux /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o - | /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/not /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/llvm-dwarfdump -verify --verify-json=/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/llvm-mc -triple x86_64-pc-linux /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o -
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/not /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/llvm-dwarfdump -verify --verify-json=/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
RUN: at line 2: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s:4:10: error: CHECK: expected string not found in input
# CHECK: {"error-categories":{"Name Index DIE entry missing name":{"count":10}},"error-count":10}
         ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json:1:1: note: scanning from here
{"error-categories":{"Name Index DIE entry missing name":{"count":10,"details":{"DW_TAG_inlined_subroutine":1,"DW_TAG_label":1,"DW_TAG_namespace":2,"DW_TAG_subprogram":2,"DW_TAG_variable":4}}},"error-count":10}
^

Input file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s

-dump-input=help explains the following input dump.

...
Step 13 (test-build-stage2-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
Verifying -:	file format elf64-x86-64
Verifying .debug_abbrev...
Verifying .debug_info Unit Header Chain...
Verifying .debug_types Unit Header Chain...
Verifying non-dwo Units...
Verifying unit: 1 / 1
Verifying dwo Units...
Verifying .debug_line...
Verifying .debug_str_offsets...
Verifying .debug_names...
warning: Name Index @ 0x0 does not contain a hash table.
error: Name Index @ 0x0: Entry for DIE @ 0x2b (DW_TAG_namespace) with name namesp missing.
error: Name Index @ 0x0: Entry for DIE @ 0x33 (DW_TAG_variable) with name var_block_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4e (DW_TAG_namespace) with name (anonymous namespace) missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4f (DW_TAG_variable) with name var_loc_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x62 (DW_TAG_variable) with name var_loc_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x71 (DW_TAG_variable) with name var_loc_gnu_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name _Z8fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0xa2 (DW_TAG_inlined_subroutine) with name fun_inline missing.
error: Name Index @ 0x0: Entry for DIE @ 0xbe (DW_TAG_label) with name label missing.
error: Aggregated error counts:
error: Name Index DIE entry missing name occurred 10 time(s).
Errors detected.

--
Command Output (stderr):
--
RUN: at line 1: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/llvm-mc -triple x86_64-pc-linux /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o - | /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/not /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/llvm-dwarfdump -verify --verify-json=/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/llvm-mc -triple x86_64-pc-linux /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o -
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/not /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/llvm-dwarfdump -verify --verify-json=/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
RUN: at line 2: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s:4:10: error: CHECK: expected string not found in input
# CHECK: {"error-categories":{"Name Index DIE entry missing name":{"count":10}},"error-count":10}
         ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json:1:1: note: scanning from here
{"error-categories":{"Name Index DIE entry missing name":{"count":10,"details":{"DW_TAG_inlined_subroutine":1,"DW_TAG_label":1,"DW_TAG_namespace":2,"DW_TAG_subprogram":2,"DW_TAG_variable":4}}},"error-count":10}
^

Input file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s

-dump-input=help explains the following input dump.

...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Feb 10, 2025

LLVM Buildbot has detected a new failure on builder premerge-monolithic-windows running on premerge-windows-1 while building llvm at step 8 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/35/builds/7157

Here is the relevant piece of the build log for the reference
Step 8 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\ws\buildbot\premerge-monolithic-windows\build\bin\llvm-mc.exe -triple x86_64-pc-linux C:\ws\buildbot\premerge-monolithic-windows\llvm-project\llvm\test\tools\llvm-dwarfdump\X86\debug-names-verify--completeness-json-output.s -filetype=obj -o - | c:\ws\buildbot\premerge-monolithic-windows\build\bin\not.exe c:\ws\buildbot\premerge-monolithic-windows\build\bin\llvm-dwarfdump.exe -verify --verify-json=C:\ws\buildbot\premerge-monolithic-windows\build\test\tools\llvm-dwarfdump\X86\Output\debug-names-verify--completeness-json-output.s.tmp.json -
# executed command: 'c:\ws\buildbot\premerge-monolithic-windows\build\bin\llvm-mc.exe' -triple x86_64-pc-linux 'C:\ws\buildbot\premerge-monolithic-windows\llvm-project\llvm\test\tools\llvm-dwarfdump\X86\debug-names-verify--completeness-json-output.s' -filetype=obj -o -
# executed command: 'c:\ws\buildbot\premerge-monolithic-windows\build\bin\not.exe' 'c:\ws\buildbot\premerge-monolithic-windows\build\bin\llvm-dwarfdump.exe' -verify '--verify-json=C:\ws\buildbot\premerge-monolithic-windows\build\test\tools\llvm-dwarfdump\X86\Output\debug-names-verify--completeness-json-output.s.tmp.json' -
# .---command stdout------------
# | Verifying -:	file format elf64-x86-64
# | Verifying .debug_abbrev...
# | Verifying .debug_info Unit Header Chain...
# | Verifying .debug_types Unit Header Chain...
# | Verifying non-dwo Units...
# | Verifying unit: 1 / 1
# | Verifying dwo Units...
# | Verifying .debug_line...
# | Verifying .debug_str_offsets...
# | Verifying .debug_names...
# | warning: Name Index @ 0x0 does not contain a hash table.
# | error: Name Index @ 0x0: Entry for DIE @ 0x2b (DW_TAG_namespace) with name namesp missing.
# | error: Name Index @ 0x0: Entry for DIE @ 0x33 (DW_TAG_variable) with name var_block_addr missing.
# | error: Name Index @ 0x0: Entry for DIE @ 0x4e (DW_TAG_namespace) with name (anonymous namespace) missing.
# | error: Name Index @ 0x0: Entry for DIE @ 0x4f (DW_TAG_variable) with name var_loc_addr missing.
# | error: Name Index @ 0x0: Entry for DIE @ 0x62 (DW_TAG_variable) with name var_loc_tls missing.
# | error: Name Index @ 0x0: Entry for DIE @ 0x71 (DW_TAG_variable) with name var_loc_gnu_tls missing.
# | error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name fun_name missing.
# | error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name _Z8fun_name missing.
# | error: Name Index @ 0x0: Entry for DIE @ 0xa2 (DW_TAG_inlined_subroutine) with name fun_inline missing.
# | error: Name Index @ 0x0: Entry for DIE @ 0xbe (DW_TAG_label) with name label missing.
# | error: Aggregated error counts:
# | error: Name Index DIE entry missing name occurred 10 time(s).
# | Errors detected.
# `-----------------------------
# RUN: at line 2
c:\ws\buildbot\premerge-monolithic-windows\build\bin\filecheck.exe C:\ws\buildbot\premerge-monolithic-windows\llvm-project\llvm\test\tools\llvm-dwarfdump\X86\debug-names-verify--completeness-json-output.s --input-file C:\ws\buildbot\premerge-monolithic-windows\build\test\tools\llvm-dwarfdump\X86\Output\debug-names-verify--completeness-json-output.s.tmp.json
# executed command: 'c:\ws\buildbot\premerge-monolithic-windows\build\bin\filecheck.exe' 'C:\ws\buildbot\premerge-monolithic-windows\llvm-project\llvm\test\tools\llvm-dwarfdump\X86\debug-names-verify--completeness-json-output.s' --input-file 'C:\ws\buildbot\premerge-monolithic-windows\build\test\tools\llvm-dwarfdump\X86\Output\debug-names-verify--completeness-json-output.s.tmp.json'
# .---command stderr------------
# | C:\ws\buildbot\premerge-monolithic-windows\llvm-project\llvm\test\tools\llvm-dwarfdump\X86\debug-names-verify--completeness-json-output.s:4:10: error: CHECK: expected string not found in input
# | # CHECK: {"error-categories":{"Name Index DIE entry missing name":{"count":10}},"error-count":10}
# |          ^
# | C:\ws\buildbot\premerge-monolithic-windows\build\test\tools\llvm-dwarfdump\X86\Output\debug-names-verify--completeness-json-output.s.tmp.json:1:1: note: scanning from here
# | {"error-categories":{"Name Index DIE entry missing name":{"count":10,"details":{"DW_TAG_inlined_subroutine":1,"DW_TAG_label":1,"DW_TAG_namespace":2,"DW_TAG_subprogram":2,"DW_TAG_variable":4}}},"error-count":10}
# | ^
# | 
# | Input file: C:\ws\buildbot\premerge-monolithic-windows\build\test\tools\llvm-dwarfdump\X86\Output\debug-names-verify--completeness-json-output.s.tmp.json
# | Check file: C:\ws\buildbot\premerge-monolithic-windows\llvm-project\llvm\test\tools\llvm-dwarfdump\X86\debug-names-verify--completeness-json-output.s
# | 
# | -dump-input=help explains the following input dump.
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Feb 10, 2025

LLVM Buildbot has detected a new failure on builder clang-ppc64le-linux-multistage running on ppc64le-clang-multistage-test while building llvm at step 5 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/76/builds/6869

Here is the relevant piece of the build log for the reference
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
Verifying -:	file format elf64-x86-64
Verifying .debug_abbrev...
Verifying .debug_info Unit Header Chain...
Verifying .debug_types Unit Header Chain...
Verifying non-dwo Units...
Verifying unit: 1 / 1
Verifying dwo Units...
Verifying .debug_line...
Verifying .debug_str_offsets...
Verifying .debug_names...
warning: Name Index @ 0x0 does not contain a hash table.
error: Name Index @ 0x0: Entry for DIE @ 0x2b (DW_TAG_namespace) with name namesp missing.
error: Name Index @ 0x0: Entry for DIE @ 0x33 (DW_TAG_variable) with name var_block_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4e (DW_TAG_namespace) with name (anonymous namespace) missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4f (DW_TAG_variable) with name var_loc_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x62 (DW_TAG_variable) with name var_loc_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x71 (DW_TAG_variable) with name var_loc_gnu_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name _Z8fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0xa2 (DW_TAG_inlined_subroutine) with name fun_inline missing.
error: Name Index @ 0x0: Entry for DIE @ 0xbe (DW_TAG_label) with name label missing.
error: Aggregated error counts:
error: Name Index DIE entry missing name occurred 10 time(s).
Errors detected.

--
Command Output (stderr):
--
RUN: at line 1: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/llvm-mc -triple x86_64-pc-linux /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o - | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/not /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/llvm-dwarfdump -verify --verify-json=/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/llvm-mc -triple x86_64-pc-linux /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o -
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/not /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/llvm-dwarfdump -verify --verify-json=/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
RUN: at line 2: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s:4:10: error: CHECK: expected string not found in input
# CHECK: {"error-categories":{"Name Index DIE entry missing name":{"count":10}},"error-count":10}
         ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json:1:1: note: scanning from here
{"error-categories":{"Name Index DIE entry missing name":{"count":10,"details":{"DW_TAG_inlined_subroutine":1,"DW_TAG_label":1,"DW_TAG_namespace":2,"DW_TAG_subprogram":2,"DW_TAG_variable":4}}},"error-count":10}
^

Input file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s

-dump-input=help explains the following input dump.

...
Step 11 (ninja check 2) failure: stage 2 checked (failure)
******************** TEST 'LLVM :: tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
Verifying -:	file format elf64-x86-64
Verifying .debug_abbrev...
Verifying .debug_info Unit Header Chain...
Verifying .debug_types Unit Header Chain...
Verifying non-dwo Units...
Verifying unit: 1 / 1
Verifying dwo Units...
Verifying .debug_line...
Verifying .debug_str_offsets...
Verifying .debug_names...
warning: Name Index @ 0x0 does not contain a hash table.
error: Name Index @ 0x0: Entry for DIE @ 0x2b (DW_TAG_namespace) with name namesp missing.
error: Name Index @ 0x0: Entry for DIE @ 0x33 (DW_TAG_variable) with name var_block_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4e (DW_TAG_namespace) with name (anonymous namespace) missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4f (DW_TAG_variable) with name var_loc_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x62 (DW_TAG_variable) with name var_loc_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x71 (DW_TAG_variable) with name var_loc_gnu_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name _Z8fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0xa2 (DW_TAG_inlined_subroutine) with name fun_inline missing.
error: Name Index @ 0x0: Entry for DIE @ 0xbe (DW_TAG_label) with name label missing.
error: Aggregated error counts:
error: Name Index DIE entry missing name occurred 10 time(s).
Errors detected.

--
Command Output (stderr):
--
RUN: at line 1: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/bin/llvm-mc -triple x86_64-pc-linux /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o - | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/bin/not /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/bin/llvm-dwarfdump -verify --verify-json=/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/bin/llvm-mc -triple x86_64-pc-linux /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o -
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/bin/not /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/bin/llvm-dwarfdump -verify --verify-json=/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
RUN: at line 2: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s:4:10: error: CHECK: expected string not found in input
# CHECK: {"error-categories":{"Name Index DIE entry missing name":{"count":10}},"error-count":10}
         ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json:1:1: note: scanning from here
{"error-categories":{"Name Index DIE entry missing name":{"count":10,"details":{"DW_TAG_inlined_subroutine":1,"DW_TAG_label":1,"DW_TAG_namespace":2,"DW_TAG_subprogram":2,"DW_TAG_variable":4}}},"error-count":10}
^

Input file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s

-dump-input=help explains the following input dump.

...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Feb 10, 2025

LLVM Buildbot has detected a new failure on builder lld-x86_64-ubuntu-fast running on as-builder-4 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/33/builds/11149

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
Verifying -:	file format elf64-x86-64
Verifying .debug_abbrev...
Verifying .debug_info Unit Header Chain...
Verifying .debug_types Unit Header Chain...
Verifying non-dwo Units...
Verifying unit: 1 / 1
Verifying dwo Units...
Verifying .debug_line...
Verifying .debug_str_offsets...
Verifying .debug_names...
warning: Name Index @ 0x0 does not contain a hash table.
error: Name Index @ 0x0: Entry for DIE @ 0x2b (DW_TAG_namespace) with name namesp missing.
error: Name Index @ 0x0: Entry for DIE @ 0x33 (DW_TAG_variable) with name var_block_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4e (DW_TAG_namespace) with name (anonymous namespace) missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4f (DW_TAG_variable) with name var_loc_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x62 (DW_TAG_variable) with name var_loc_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x71 (DW_TAG_variable) with name var_loc_gnu_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name _Z8fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0xa2 (DW_TAG_inlined_subroutine) with name fun_inline missing.
error: Name Index @ 0x0: Entry for DIE @ 0xbe (DW_TAG_label) with name label missing.
error: Aggregated error counts:
error: Name Index DIE entry missing name occurred 10 time(s).
Errors detected.

--
Command Output (stderr):
--
RUN: at line 1: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-mc -triple x86_64-pc-linux /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o - | /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/not /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-dwarfdump -verify --verify-json=/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/not /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-dwarfdump -verify --verify-json=/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-mc -triple x86_64-pc-linux /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o -
RUN: at line 2: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s:4:10: error: CHECK: expected string not found in input
# CHECK: {"error-categories":{"Name Index DIE entry missing name":{"count":10}},"error-count":10}
         ^
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json:1:1: note: scanning from here
{"error-categories":{"Name Index DIE entry missing name":{"count":10,"details":{"DW_TAG_inlined_subroutine":1,"DW_TAG_label":1,"DW_TAG_namespace":2,"DW_TAG_subprogram":2,"DW_TAG_variable":4}}},"error-count":10}
^

Input file: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
Check file: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s

-dump-input=help explains the following input dump.

...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Feb 10, 2025

LLVM Buildbot has detected a new failure on builder clang-x86_64-debian-fast running on gribozavr4 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/56/builds/18345

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
Verifying -:	file format elf64-x86-64
Verifying .debug_abbrev...
Verifying .debug_info Unit Header Chain...
Verifying .debug_types Unit Header Chain...
Verifying non-dwo Units...
Verifying unit: 1 / 1
Verifying dwo Units...
Verifying .debug_line...
Verifying .debug_str_offsets...
Verifying .debug_names...
warning: Name Index @ 0x0 does not contain a hash table.
error: Name Index @ 0x0: Entry for DIE @ 0x2b (DW_TAG_namespace) with name namesp missing.
error: Name Index @ 0x0: Entry for DIE @ 0x33 (DW_TAG_variable) with name var_block_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4e (DW_TAG_namespace) with name (anonymous namespace) missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4f (DW_TAG_variable) with name var_loc_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x62 (DW_TAG_variable) with name var_loc_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x71 (DW_TAG_variable) with name var_loc_gnu_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name _Z8fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0xa2 (DW_TAG_inlined_subroutine) with name fun_inline missing.
error: Name Index @ 0x0: Entry for DIE @ 0xbe (DW_TAG_label) with name label missing.
error: Aggregated error counts:
error: Name Index DIE entry missing name occurred 10 time(s).
Errors detected.

--
Command Output (stderr):
--
RUN: at line 1: /b/1/clang-x86_64-debian-fast/llvm.obj/bin/llvm-mc -triple x86_64-pc-linux /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o - | /b/1/clang-x86_64-debian-fast/llvm.obj/bin/not /b/1/clang-x86_64-debian-fast/llvm.obj/bin/llvm-dwarfdump -verify --verify-json=/b/1/clang-x86_64-debian-fast/llvm.obj/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/llvm-mc -triple x86_64-pc-linux /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o -
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/not /b/1/clang-x86_64-debian-fast/llvm.obj/bin/llvm-dwarfdump -verify --verify-json=/b/1/clang-x86_64-debian-fast/llvm.obj/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
RUN: at line 2: /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /b/1/clang-x86_64-debian-fast/llvm.obj/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /b/1/clang-x86_64-debian-fast/llvm.obj/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s:4:10: error: CHECK: expected string not found in input
# CHECK: {"error-categories":{"Name Index DIE entry missing name":{"count":10}},"error-count":10}
         ^
/b/1/clang-x86_64-debian-fast/llvm.obj/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json:1:1: note: scanning from here
{"error-categories":{"Name Index DIE entry missing name":{"count":10,"details":{"DW_TAG_inlined_subroutine":1,"DW_TAG_label":1,"DW_TAG_namespace":2,"DW_TAG_subprogram":2,"DW_TAG_variable":4}}},"error-count":10}
^

Input file: /b/1/clang-x86_64-debian-fast/llvm.obj/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
Check file: /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s

-dump-input=help explains the following input dump.

...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Feb 10, 2025

LLVM Buildbot has detected a new failure on builder llvm-x86_64-debian-dylib running on gribozavr4 while building llvm at step 7 "test-build-unified-tree-check-llvm".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/60/builds/19275

Here is the relevant piece of the build log for the reference
Step 7 (test-build-unified-tree-check-llvm) failure: test (failure)
******************** TEST 'LLVM :: tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
Verifying -:	file format elf64-x86-64
Verifying .debug_abbrev...
Verifying .debug_info Unit Header Chain...
Verifying .debug_types Unit Header Chain...
Verifying non-dwo Units...
Verifying unit: 1 / 1
Verifying dwo Units...
Verifying .debug_line...
Verifying .debug_str_offsets...
Verifying .debug_names...
warning: Name Index @ 0x0 does not contain a hash table.
error: Name Index @ 0x0: Entry for DIE @ 0x2b (DW_TAG_namespace) with name namesp missing.
error: Name Index @ 0x0: Entry for DIE @ 0x33 (DW_TAG_variable) with name var_block_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4e (DW_TAG_namespace) with name (anonymous namespace) missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4f (DW_TAG_variable) with name var_loc_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x62 (DW_TAG_variable) with name var_loc_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x71 (DW_TAG_variable) with name var_loc_gnu_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name _Z8fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0xa2 (DW_TAG_inlined_subroutine) with name fun_inline missing.
error: Name Index @ 0x0: Entry for DIE @ 0xbe (DW_TAG_label) with name label missing.
error: Aggregated error counts:
error: Name Index DIE entry missing name occurred 10 time(s).
Errors detected.

--
Command Output (stderr):
--
RUN: at line 1: /b/1/llvm-x86_64-debian-dylib/build/bin/llvm-mc -triple x86_64-pc-linux /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o - | /b/1/llvm-x86_64-debian-dylib/build/bin/not /b/1/llvm-x86_64-debian-dylib/build/bin/llvm-dwarfdump -verify --verify-json=/b/1/llvm-x86_64-debian-dylib/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
+ /b/1/llvm-x86_64-debian-dylib/build/bin/llvm-mc -triple x86_64-pc-linux /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o -
+ /b/1/llvm-x86_64-debian-dylib/build/bin/not /b/1/llvm-x86_64-debian-dylib/build/bin/llvm-dwarfdump -verify --verify-json=/b/1/llvm-x86_64-debian-dylib/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
RUN: at line 2: /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /b/1/llvm-x86_64-debian-dylib/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
+ /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /b/1/llvm-x86_64-debian-dylib/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s:4:10: error: CHECK: expected string not found in input
# CHECK: {"error-categories":{"Name Index DIE entry missing name":{"count":10}},"error-count":10}
         ^
/b/1/llvm-x86_64-debian-dylib/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json:1:1: note: scanning from here
{"error-categories":{"Name Index DIE entry missing name":{"count":10,"details":{"DW_TAG_inlined_subroutine":1,"DW_TAG_label":1,"DW_TAG_namespace":2,"DW_TAG_subprogram":2,"DW_TAG_variable":4}}},"error-count":10}
^

Input file: /b/1/llvm-x86_64-debian-dylib/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
Check file: /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s

-dump-input=help explains the following input dump.

...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Feb 10, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-expensive-checks-debian running on gribozavr4 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/16/builds/13569

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
Verifying -:	file format elf64-x86-64
Verifying .debug_abbrev...
Verifying .debug_info Unit Header Chain...
Verifying .debug_types Unit Header Chain...
Verifying non-dwo Units...
Verifying unit: 1 / 1
Verifying dwo Units...
Verifying .debug_line...
Verifying .debug_str_offsets...
Verifying .debug_names...
warning: Name Index @ 0x0 does not contain a hash table.
error: Name Index @ 0x0: Entry for DIE @ 0x2b (DW_TAG_namespace) with name namesp missing.
error: Name Index @ 0x0: Entry for DIE @ 0x33 (DW_TAG_variable) with name var_block_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4e (DW_TAG_namespace) with name (anonymous namespace) missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4f (DW_TAG_variable) with name var_loc_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x62 (DW_TAG_variable) with name var_loc_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x71 (DW_TAG_variable) with name var_loc_gnu_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name _Z8fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0xa2 (DW_TAG_inlined_subroutine) with name fun_inline missing.
error: Name Index @ 0x0: Entry for DIE @ 0xbe (DW_TAG_label) with name label missing.
error: Aggregated error counts:
error: Name Index DIE entry missing name occurred 10 time(s).
Errors detected.

--
Command Output (stderr):
--
RUN: at line 1: /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llvm-mc -triple x86_64-pc-linux /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o - | /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/not /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llvm-dwarfdump -verify --verify-json=/b/1/llvm-clang-x86_64-expensive-checks-debian/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
+ /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llvm-mc -triple x86_64-pc-linux /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o -
+ /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/not /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llvm-dwarfdump -verify --verify-json=/b/1/llvm-clang-x86_64-expensive-checks-debian/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
RUN: at line 2: /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/FileCheck /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /b/1/llvm-clang-x86_64-expensive-checks-debian/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
+ /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/FileCheck /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /b/1/llvm-clang-x86_64-expensive-checks-debian/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s:4:10: error: CHECK: expected string not found in input
# CHECK: {"error-categories":{"Name Index DIE entry missing name":{"count":10}},"error-count":10}
         ^
/b/1/llvm-clang-x86_64-expensive-checks-debian/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json:1:1: note: scanning from here
{"error-categories":{"Name Index DIE entry missing name":{"count":10,"details":{"DW_TAG_inlined_subroutine":1,"DW_TAG_label":1,"DW_TAG_namespace":2,"DW_TAG_subprogram":2,"DW_TAG_variable":4}}},"error-count":10}
^

Input file: /b/1/llvm-clang-x86_64-expensive-checks-debian/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
Check file: /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s

-dump-input=help explains the following input dump.

...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Feb 10, 2025

LLVM Buildbot has detected a new failure on builder premerge-monolithic-linux running on premerge-linux-1 while building llvm at step 7 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/153/builds/22468

Here is the relevant piece of the build log for the reference
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
Verifying -:	file format elf64-x86-64
Verifying .debug_abbrev...
Verifying .debug_info Unit Header Chain...
Verifying .debug_types Unit Header Chain...
Verifying non-dwo Units...
Verifying unit: 1 / 1
Verifying dwo Units...
Verifying .debug_line...
Verifying .debug_str_offsets...
Verifying .debug_names...
warning: Name Index @ 0x0 does not contain a hash table.
error: Name Index @ 0x0: Entry for DIE @ 0x2b (DW_TAG_namespace) with name namesp missing.
error: Name Index @ 0x0: Entry for DIE @ 0x33 (DW_TAG_variable) with name var_block_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4e (DW_TAG_namespace) with name (anonymous namespace) missing.
error: Name Index @ 0x0: Entry for DIE @ 0x4f (DW_TAG_variable) with name var_loc_addr missing.
error: Name Index @ 0x0: Entry for DIE @ 0x62 (DW_TAG_variable) with name var_loc_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x71 (DW_TAG_variable) with name var_loc_gnu_tls missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name _Z8fun_name missing.
error: Name Index @ 0x0: Entry for DIE @ 0xa2 (DW_TAG_inlined_subroutine) with name fun_inline missing.
error: Name Index @ 0x0: Entry for DIE @ 0xbe (DW_TAG_label) with name label missing.
error: Aggregated error counts:
error: Name Index DIE entry missing name occurred 10 time(s).
Errors detected.

--
Command Output (stderr):
--
RUN: at line 1: /build/buildbot/premerge-monolithic-linux/build/bin/llvm-mc -triple x86_64-pc-linux /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o - | /build/buildbot/premerge-monolithic-linux/build/bin/not /build/buildbot/premerge-monolithic-linux/build/bin/llvm-dwarfdump -verify --verify-json=/build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
+ /build/buildbot/premerge-monolithic-linux/build/bin/llvm-mc -triple x86_64-pc-linux /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s -filetype=obj -o -
+ /build/buildbot/premerge-monolithic-linux/build/bin/not /build/buildbot/premerge-monolithic-linux/build/bin/llvm-dwarfdump -verify --verify-json=/build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json -
RUN: at line 2: /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
+ /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s --input-file /build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s:4:10: error: CHECK: expected string not found in input
# CHECK: {"error-categories":{"Name Index DIE entry missing name":{"count":10}},"error-count":10}
         ^
/build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json:1:1: note: scanning from here
{"error-categories":{"Name Index DIE entry missing name":{"count":10,"details":{"DW_TAG_inlined_subroutine":1,"DW_TAG_label":1,"DW_TAG_namespace":2,"DW_TAG_subprogram":2,"DW_TAG_variable":4}}},"error-count":10}
^

Input file: /build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-dwarfdump/X86/Output/debug-names-verify--completeness-json-output.s.tmp.json
Check file: /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s

-dump-input=help explains the following input dump.

...

Icohedron pushed a commit to Icohedron/llvm-project that referenced this pull request Feb 11, 2025
It was discovered that BOLT had several distinct issues of missing debug
information by various tags for debug names (119493 & 119023 as
examples), but the verification of a DWARF with llvm-dwarfdump prior to
those fixes only gave one 'missing name' category.
```
{"error-categories":{"Name Index DIE entry missing name":{"count":36355210}},"error-count":36355210}
```
To more easily leverage dwarf verification for debug health, the JSON
output will be improved to allow having detailed counts by a
sub-category when it makes sense.
For now, this is only implemented on the missing tags, but can be
extended to more.
```
{"error-categories":{"Name Index DIE entry missing name":{"count":10,"details":{"DW_TAG_inlined_subroutine":1,"DW_TAG_label":1,"DW_TAG_namespace":2,"DW_TAG_subprogram":2,"DW_TAG_variable":4}}},"error-count":10}
```

This diff also modifies the tests created in pull request 124936 (not
yet landed) to ensure the JSON switches. Ideally this lands after that
but it did not correctly create a stack of pull requests.
Icohedron pushed a commit to Icohedron/llvm-project that referenced this pull request Feb 11, 2025
joaosaffran pushed a commit to joaosaffran/llvm-project that referenced this pull request Feb 14, 2025
It was discovered that BOLT had several distinct issues of missing debug
information by various tags for debug names (119493 & 119023 as
examples), but the verification of a DWARF with llvm-dwarfdump prior to
those fixes only gave one 'missing name' category.
```
{"error-categories":{"Name Index DIE entry missing name":{"count":36355210}},"error-count":36355210}
```
To more easily leverage dwarf verification for debug health, the JSON
output will be improved to allow having detailed counts by a
sub-category when it makes sense.
For now, this is only implemented on the missing tags, but can be
extended to more.
```
{"error-categories":{"Name Index DIE entry missing name":{"count":10,"details":{"DW_TAG_inlined_subroutine":1,"DW_TAG_label":1,"DW_TAG_namespace":2,"DW_TAG_subprogram":2,"DW_TAG_variable":4}}},"error-count":10}
```

This diff also modifies the tests created in pull request 124936 (not
yet landed) to ensure the JSON switches. Ideally this lands after that
but it did not correctly create a stack of pull requests.
joaosaffran pushed a commit to joaosaffran/llvm-project that referenced this pull request Feb 14, 2025
sivan-shani pushed a commit to sivan-shani/llvm-project that referenced this pull request Feb 24, 2025
It was discovered that BOLT had several distinct issues of missing debug
information by various tags for debug names (119493 & 119023 as
examples), but the verification of a DWARF with llvm-dwarfdump prior to
those fixes only gave one 'missing name' category.
```
{"error-categories":{"Name Index DIE entry missing name":{"count":36355210}},"error-count":36355210}
```
To more easily leverage dwarf verification for debug health, the JSON
output will be improved to allow having detailed counts by a
sub-category when it makes sense.
For now, this is only implemented on the missing tags, but can be
extended to more.
```
{"error-categories":{"Name Index DIE entry missing name":{"count":10,"details":{"DW_TAG_inlined_subroutine":1,"DW_TAG_label":1,"DW_TAG_namespace":2,"DW_TAG_subprogram":2,"DW_TAG_variable":4}}},"error-count":10}
```

This diff also modifies the tests created in pull request 124936 (not
yet landed) to ensure the JSON switches. Ideally this lands after that
but it did not correctly create a stack of pull requests.
sivan-shani pushed a commit to sivan-shani/llvm-project that referenced this pull request Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants