[llvm] [DWARFVerifier] Allow overlapping ranges for ICF-merged functions (PR #117952)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 17 14:22:27 PST 2024
zeroomega wrote:
We are seeing the test failure on 'LLVM :: tools/llvm-dwarfdump/X86/verify_no_overlap_error_icf.yaml' in our mac-x64 builder as well.error message:
```
FAIL: LLVM :: tools/llvm-dwarfdump/X86/verify_no_overlap_error_icf.yaml (51166 of 56656)
******************** TEST 'LLVM :: tools/llvm-dwarfdump/X86/verify_no_overlap_error_icf.yaml' FAILED ********************
Exit Code: 2
Command Output (stderr):
--
RUN: at line 17: split-file /Volumes/Work/s/w/ir/x/w/llvm-llvm-project/llvm/test/tools/llvm-dwarfdump/X86/verify_no_overlap_error_icf.yaml /Volumes/Work/s/w/ir/x/w/llvm_build/test/tools/llvm-dwarfdump/X86/Output/verify_no_overlap_error_icf.yaml.tmp
+ split-file /Volumes/Work/s/w/ir/x/w/llvm-llvm-project/llvm/test/tools/llvm-dwarfdump/X86/verify_no_overlap_error_icf.yaml /Volumes/Work/s/w/ir/x/w/llvm_build/test/tools/llvm-dwarfdump/X86/Output/verify_no_overlap_error_icf.yaml.tmp
RUN: at line 18: /Volumes/Work/s/w/ir/x/w/llvm_build/bin/yaml2obj /Volumes/Work/s/w/ir/x/w/llvm_build/test/tools/llvm-dwarfdump/X86/Output/verify_no_overlap_error_icf.yaml.tmp/test.yaml | /Volumes/Work/s/w/ir/x/w/llvm_build/bin/llvm-dwarfdump --error-display=details --verify - | /Volumes/Work/s/w/ir/x/w/llvm_build/bin/FileCheck /Volumes/Work/s/w/ir/x/w/llvm-llvm-project/llvm/test/tools/llvm-dwarfdump/X86/verify_no_overlap_error_icf.yaml
+ /Volumes/Work/s/w/ir/x/w/llvm_build/bin/yaml2obj /Volumes/Work/s/w/ir/x/w/llvm_build/test/tools/llvm-dwarfdump/X86/Output/verify_no_overlap_error_icf.yaml.tmp/test.yaml
+ /Volumes/Work/s/w/ir/x/w/llvm_build/bin/llvm-dwarfdump --error-display=details --verify -
+ /Volumes/Work/s/w/ir/x/w/llvm_build/bin/FileCheck /Volumes/Work/s/w/ir/x/w/llvm-llvm-project/llvm/test/tools/llvm-dwarfdump/X86/verify_no_overlap_error_icf.yaml
RUN: at line 21: sed '0,/HighOffset: 0x6000/{s//HighOffset: 0x5999/}' /Volumes/Work/s/w/ir/x/w/llvm_build/test/tools/llvm-dwarfdump/X86/Output/verify_no_overlap_error_icf.yaml.tmp/test.yaml | /Volumes/Work/s/w/ir/x/w/llvm_build/bin/yaml2obj | /Volumes/Work/s/w/ir/x/w/llvm_build/bin/not /Volumes/Work/s/w/ir/x/w/llvm_build/bin/llvm-dwarfdump --error-display=details --verify - | /Volumes/Work/s/w/ir/x/w/llvm_build/bin/FileCheck /Volumes/Work/s/w/ir/x/w/llvm-llvm-project/llvm/test/tools/llvm-dwarfdump/X86/verify_no_overlap_error_icf.yaml --check-prefix=CHECK-RANGES
+ sed '0,/HighOffset: 0x6000/{s//HighOffset: 0x5999/}' /Volumes/Work/s/w/ir/x/w/llvm_build/test/tools/llvm-dwarfdump/X86/Output/verify_no_overlap_error_icf.yaml.tmp/test.yaml
+ /Volumes/Work/s/w/ir/x/w/llvm_build/bin/yaml2obj
+ /Volumes/Work/s/w/ir/x/w/llvm_build/bin/not /Volumes/Work/s/w/ir/x/w/llvm_build/bin/llvm-dwarfdump --error-display=details --verify -
+ /Volumes/Work/s/w/ir/x/w/llvm_build/bin/FileCheck /Volumes/Work/s/w/ir/x/w/llvm-llvm-project/llvm/test/tools/llvm-dwarfdump/X86/verify_no_overlap_error_icf.yaml --check-prefix=CHECK-RANGES
sed: 1: "0,/HighOffset: 0x6000/{ ...": bad flag in substitute command: '}'
yaml2obj: error: unknown document type
error: -: The file was not recognized as a valid object file
FileCheck error: '<stdin>' is empty.
FileCheck command line: /Volumes/Work/s/w/ir/x/w/llvm_build/bin/FileCheck /Volumes/Work/s/w/ir/x/w/llvm-llvm-project/llvm/test/tools/llvm-dwarfdump/X86/verify_no_overlap_error_icf.yaml --check-prefix=CHECK-RANGES
--
********************
```
Could you revert your change now and reland it with the fix please?
https://github.com/llvm/llvm-project/pull/117952
More information about the llvm-commits
mailing list