Skip to content

Commit 2d0db03

Browse files
[llvm-debuginfo-analyzer] Fix crash with WebAssembly dead code
#136772 Incorrect handling of 'tombstone' value for WebAssembly. Minor comments change in test case.
1 parent 7df6a92 commit 2d0db03

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/wasm-crash-tombstone.s

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@
2222
# Stack dump:
2323
# 0. Program arguments: llvm-debuginfo-analyzer out/lzma-lzmadec.wasm --print=instructions
2424

25-
# The test-clang-tombstone.s was produced by the following steps:
25+
# The test case was produced by the following steps:
26+
#
2627
# 1) clang --target=wasm32 -S -g Inputs/test-clang.cpp
2728
# -o Inputs/wasm-crash-tombstone.s
28-
# 2) Manually changing the DW_AT_low_pc for the DW_TAG_subprogram, from
29+
# 2) Manually changing the DW_AT_low_pc for the DW_TAG_subprogram:
2930
# .Lfunc_begin0 to 0xffffffff to mark the function as dead code:
3031
#
3132
# .int8 2 # Abbrev [2] 0x26:0x6a DW_TAG_subprogram

0 commit comments

Comments
 (0)