URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
Compare Revisions
- This comparison shows the changes necessary to convert path
/openrisc/trunk/gnu-stable/binutils-2.20.1/gas/testsuite/gas/lns
- from Rev 816 to Rev 818
- ↔ Reverse comparison
Rev 816 → Rev 818
/lns-common-1-alt.d
0,0 → 1,43
#source: lns-common-1.s |
#readelf: -wl |
#name: lns-common-1 |
Raw dump of debug contents of section \.debug_line: |
#... |
Initial value of 'is_stmt': 1 |
#... |
Line Number Statements: |
Extended opcode 2: set Address to .* |
Copy |
Set column to 3 |
Advance Line by 1 to 2 |
Advance PC by fixed size amount .* to .* |
Copy |
Set prologue_end to true |
Advance Line by 1 to 3 |
Advance PC by fixed size amount .* to .* |
Copy |
Set column to 0 |
Set epilogue_begin to true |
Advance Line by 1 to 4 |
Advance PC by fixed size amount .* to .* |
Copy |
Set ISA to 1 |
Set basic block |
Advance Line by 1 to 5 |
Advance PC by fixed size amount .* to .* |
Copy |
Set is_stmt to 0 |
Advance Line by 1 to 6 |
Advance PC by fixed size amount .* to .* |
Copy |
Set is_stmt to 1 |
Advance Line by 1 to 7 |
Advance PC by fixed size amount .* to .* |
Copy |
Extended opcode 4: set Discriminator to 1 |
Advance Line by 0 to 7 |
Advance PC by fixed size amount .* to .* |
Copy |
Advance PC by fixed size amount .* to .* |
Extended opcode 1: End of Sequence |
#... |
/lns-common-1.s
0,0 → 1,25
.file 1 "foo.c" |
.loc 1 1 |
nop |
nop |
.loc 1 2 3 |
nop |
nop |
.loc 1 3 prologue_end |
nop |
nop |
.loc 1 4 0 epilogue_begin |
nop |
nop |
.loc 1 5 isa 1 basic_block |
nop |
nop |
.loc 1 6 is_stmt 0 |
nop |
nop |
.loc 1 7 is_stmt 1 |
nop |
nop |
.loc 1 7 discriminator 1 |
nop |
nop |
/lns-common-1-ia64.s
0,0 → 1,18
.file 1 "foo.c" |
.loc 1 1 |
.explicit |
{ .mii; nop 0; nop 0; nop 0 ;; } |
.loc 1 2 3 |
{ .mii; nop 0; nop 0; nop 0 ;; } |
.loc 1 3 prologue_end |
{ .mii; nop 0; nop 0; nop 0 ;; } |
.loc 1 4 0 epilogue_begin |
{ .mii; nop 0; nop 0; nop 0 ;; } |
.loc 1 5 isa 1 basic_block |
{ .mii; nop 0; nop 0; nop 0 ;; } |
.loc 1 6 is_stmt 0 |
{ .mii; nop 0; nop 0; nop 0 ;; } |
.loc 1 7 is_stmt 1 |
{ .mii; nop 0; nop 0; nop 0 ;; } |
.loc 1 7 discriminator 1 |
{ .mii; nop 0; nop 0; nop 0 ;; } |
/lns-common-1.d
0,0 → 1,28
#readelf: -wl |
#name: lns-common-1 |
Raw dump of debug contents of section \.debug_line: |
#... |
Initial value of 'is_stmt': 1 |
#... |
Line Number Statements: |
Extended opcode 2: set Address to .* |
Copy |
Set column to 3 |
Special opcode .*: advance Address by .* to .* and Line by 1 to 2 |
Set prologue_end to true |
Special opcode .*: advance Address by .* to .* and Line by 1 to 3 |
Set column to 0 |
Set epilogue_begin to true |
Special opcode .*: advance Address by .* to .* and Line by 1 to 4 |
Set ISA to 1 |
Set basic block |
Special opcode .*: advance Address by .* to .* and Line by 1 to 5 |
Set is_stmt to 0 |
Special opcode .*: advance Address by .* to .* and Line by 1 to 6 |
Set is_stmt to 1 |
Special opcode .*: advance Address by .* to .* and Line by 1 to 7 |
Extended opcode 4: set Discriminator to 1 |
Special opcode .*: advance Address by .* to .* and Line by 0 to 7 |
Advance PC by .* to .* |
Extended opcode 1: End of Sequence |
#... |
/lns-big-delta.s
0,0 → 1,5
.file 1 "foo.c" |
.loc 1 1 0 |
.loc 1 2 0 |
.space 75000 |
.loc 1 3 0 |
/lns-big-delta.d
0,0 → 1,14
#source: lns-big-delta.s |
#readelf: -wl |
#name: lns-big-delta |
Raw dump of debug contents of section \.debug_line: |
#... |
Line Number Statements: |
Extended opcode 2: set Address to .* |
Copy |
Advance Line by 1 to 2 |
Extended opcode 2: set Address to .* |
Copy |
Advance PC by fixed size amount 0 to .* |
Extended opcode 1: End of Sequence |
#pass |
/lns-duplicate.s
0,0 → 1,5
.loc_mark_labels 1 |
.file 1 "foo.s" |
.loc 1 1 0 |
.loc 1 2 0 |
.Llabel: |
/lns-diag-1.l
0,0 → 1,15
.*: Assembler messages: |
.*:2: Error: file number less than one |
.*:3: Error: missing string |
.*:4: Error: file number 1 already allocated |
.*:8: Error: unassigned file number 3 |
.*:9: Error: junk at end of line, first unrecognized character is `1' |
.*:12: Error: junk at end of line, first unrecognized character is `0' |
.*:18: Error: is_stmt value not 0 or 1 |
.*:19: Error: bad or irreducible absolute expression |
.*:23: Error: isa number less than zero |
.*:26: Error: bad or irreducible absolute expression |
.*:26: Error: file number less than one |
.*:27: Error: bad or irreducible absolute expression |
.*:28: Error: unknown .loc sub-directive `frobnitz' |
.*:29: Error: unknown .loc sub-directive `frobnitz' |
/lns-duplicate.d
0,0 → 1,10
#readelf: -wl |
#name: lns-duplicate |
Raw dump of debug contents of section \.debug_line: |
#... |
Line Number Statements: |
Extended opcode 2: set Address to .* |
Copy |
Set basic block |
.* by 1 to 2 |
#pass |
/lns.exp
0,0 → 1,27
if ![is_elf_format] then { |
return |
} |
|
run_list_test "lns-diag-1" "" |
run_dump_test "lns-duplicate" |
|
# ??? Won't work on targets that don't have a bare "nop" insn. |
# Perhaps we could arrange for an include file or something that |
# defined a macro... |
if { |
![istarget i370-*-*] |
&& ![istarget i960-*-*] |
&& ![istarget mcore-*-*] |
&& ![istarget or32-*-*] |
&& ![istarget s390*-*-*] |
} { |
# Use alternate file for targets using DW_LNS_fixed_advance_pc opcodes. |
if { [istarget xtensa*-*-*] } { |
run_dump_test "lns-common-1-alt" |
run_dump_test "lns-big-delta" |
} elseif { [istarget ia64*-*-*] } { |
run_dump_test "lns-common-1" { { source "lns-common-1-ia64.s" } } |
} else { |
run_dump_test "lns-common-1" |
} |
} |
/lns-diag-1.s
0,0 → 1,29
.file 1 "foo.c" |
.file 0 "bar.c" |
.file 2 baz.c |
.file 1 "bar.c" |
|
.loc 1 1 |
.loc 1 2 3 |
.loc 3 1 |
.loc 1 1 1 1 |
|
.loc 1 1 basic_block |
.loc 1 1 basic_block 0 |
.loc 1 1 prologue_end |
.loc 1 1 epilogue_begin |
|
.loc 1 1 1 is_stmt 0 |
.loc 1 1 1 is_stmt 1 |
.loc 1 1 1 is_stmt 2 |
.loc 1 1 1 is_stmt foo |
|
.loc 1 1 isa 1 |
.loc 1 1 isa 2 |
.loc 1 1 isa -1 |
.loc 1 1 isa 0 |
|
.loc frobnitz |
.loc 1 frobnitz |
.loc 1 1 frobnitz |
.loc 1 1 1 frobnitz |