Skip to content

Commit e501828

Browse files
committed
Remove expectation requiring no non-debug custom sections in separate-dwarf files
This test is now failing after WebAssembly/binaryen#7043 because the target_features section is in the output binary and gets copied over to the separate-dwarf file (this is because the separate-dwarf file is just a copy of the original file). An alternative to this would be to strip all non-debug custom sections from the side file, although there could be sections that emscripten doesn't know about that it would be desirable to have.
1 parent 0bf241c commit e501828

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/test_other.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10226,8 +10226,6 @@ def test_separate_dwarf(self):
1022610226
# with name sections but no code sections.
1022710227
# if sec.type == webassembly.SecType.CODE:
1022810228
# self.fail(f'section of type "{sec.type}" found in separate dwarf file')
10229-
if sec.name and sec.name != 'name' and not sec.name.startswith('.debug'):
10230-
self.fail(f'non-debug section "{sec.name}" found in separate dwarf file')
1023110229

1023210230
# Check that dwarfdump can dump the debug info
1023310231
dwdump = self.run_process(

0 commit comments

Comments
 (0)