Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions wild/tests/sources/elf/dwarf-line-add-sub/dwarf-line-add-sub.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/*

This test is similar to source-info-from-debug, but due to being asm, can more reliably pick up some
problems that test fails to detect.

//#CompArgs:-g
//#ExpectError:the-answer:42
*/

.file 1 "the-answer"

.section .text
.globl _start
.type _start, @function
_start:
.loc 1 2
nop
.loc 1 12
nop
.loc 1 22
nop
.loc 1 32
nop
.loc 1 42
nop
.8byte undefined
.size _start, .-_start
Loading