Skip to content

[DebugInfo] Don't match wrong NULL in CHECK lines of dwarf5-debug-info-static-member.ll#184694

Merged
dzhidzhoev merged 1 commit intollvm:mainfrom
dzhidzhoev:debuginfo/rfc-krisb/5/fix-dwarf5-debug-info-static-member/base
Mar 4, 2026
Merged

[DebugInfo] Don't match wrong NULL in CHECK lines of dwarf5-debug-info-static-member.ll#184694
dzhidzhoev merged 1 commit intollvm:mainfrom
dzhidzhoev:debuginfo/rfc-krisb/5/fix-dwarf5-debug-info-static-member/base

Conversation

@dzhidzhoev
Copy link
Copy Markdown
Member

Fixes failure on clang-ppc64le-rhel buildbot (https://lab.llvm.org/buildbot/#/builders/145/builds/13080) after #184219.

On ppc64le, children are not produced for DW_TAG_subprogram "main" in this test. Therefore, dwarfdump doesn't print NULL after this tag. On other platforms (AArch64/X86), DW_TAG_subprogram has DW_TAG_variable "instance_C", which should not be matched by the check lines.

Loosened the check lines (turned CHECK-NEXT into CHECK) to make them work for all mentioned platforms.

…o-static-member.ll

Fixes failure on clang-ppc64le-rhel buildbot (https://lab.llvm.org/buildbot/#/builders/145/builds/13080)
after llvm#184219.

On ppc64le, children are not produced for DW_TAG_subprogram "main" in
this test. Therefore, dwarfdump doesn't print NULL after this tag.
On other platforms (AArch64/X86), DW_TAG_subprogram has DW_TAG_variable
"instance_C", which should not be matched by the check lines.

Loosened the check lines (turned CHECK-NEXT into CHECK) to make them work
for all mentioned platforms.
@dzhidzhoev dzhidzhoev added debuginfo skip-precommit-approval PR for CI feedback, not intended for review labels Mar 4, 2026
@dzhidzhoev dzhidzhoev merged commit 2be726d into llvm:main Mar 4, 2026
8 of 13 checks passed
sujianIBM pushed a commit to sujianIBM/llvm-project that referenced this pull request Mar 5, 2026
…o-static-member.ll (llvm#184694)

Fixes failure on clang-ppc64le-rhel buildbot
(https://lab.llvm.org/buildbot/#/builders/145/builds/13080) after
llvm#184219.

On ppc64le, children are not produced for DW_TAG_subprogram "main" in
this test. Therefore, dwarfdump doesn't print NULL after this tag. On
other platforms (AArch64/X86), DW_TAG_subprogram has DW_TAG_variable
"instance_C", which should not be matched by the check lines.

Loosened the check lines (turned CHECK-NEXT into CHECK) to make them
work for all mentioned platforms.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

debuginfo skip-precommit-approval PR for CI feedback, not intended for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant