-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace output_equivalence test with regression tests (#333)
Bug fixes require us to have different output from binutils addr2line, but we don't exactly match llvm-addr2line either, so there is no good way to compare our output against existing tools. Switch to using a regression test for our output instead.
- Loading branch information
Showing
34 changed files
with
1,308 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
0x0000000000001060 | ||
/object/testfiles/dwarf/base.cpp:26 | ||
0x0000000000001068 | ||
/object/testfiles/dwarf/base.cpp:26 | ||
0x000000000000106a | ||
/object/testfiles/dwarf/base.cpp:26 | ||
0x000000000000107a | ||
/object/testfiles/dwarf/base.cpp:28 | ||
0x000000000000107f | ||
/object/testfiles/dwarf/base.cpp:28 | ||
0x0000000000001084 | ||
/object/testfiles/dwarf/base.cpp:30 | ||
0x0000000000001190 | ||
/object/testfiles/dwarf/base.cpp:12 | ||
0x0000000000001194 | ||
/object/testfiles/dwarf/base.cpp:14 | ||
0x00000000000011b0 | ||
/object/testfiles/dwarf/base.cpp:15 | ||
0x00000000000011b3 | ||
/object/testfiles/dwarf/base.cpp:15 | ||
0x00000000000011b7 | ||
/object/testfiles/dwarf/base.cpp:15 | ||
0x00000000000011bb | ||
/object/testfiles/dwarf/base.cpp:14 | ||
0x00000000000011c0 | ||
/object/testfiles/dwarf/base.cpp:16 | ||
0x00000000000011d0 | ||
/object/testfiles/dwarf/base.cpp:19 | ||
0x00000000000011d4 | ||
/object/testfiles/dwarf/base.cpp:20 | ||
0x0000000000001200 | ||
/object/testfiles/dwarf/base.cpp:15 | ||
0x0000000000001203 | ||
/object/testfiles/dwarf/base.cpp:15 | ||
0x0000000000001207 | ||
/object/testfiles/dwarf/base.cpp:15 | ||
0x000000000000120b | ||
/object/testfiles/dwarf/base.cpp:14 | ||
0x0000000000001230 | ||
/object/testfiles/dwarf/base.cpp:15 | ||
0x0000000000001233 | ||
/object/testfiles/dwarf/base.cpp:15 | ||
0x0000000000001237 | ||
/object/testfiles/dwarf/base.cpp:15 | ||
0x000000000000123b | ||
/object/testfiles/dwarf/base.cpp:14 | ||
0x0000000000001240 | ||
/object/testfiles/dwarf/base.cpp:24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
0x0000000000001060 | ||
main | ||
/object/testfiles/dwarf/base.cpp:26 | ||
0x0000000000001068 | ||
main | ||
/object/testfiles/dwarf/base.cpp:26 | ||
0x000000000000106a | ||
main | ||
/object/testfiles/dwarf/base.cpp:26 | ||
0x000000000000107a | ||
main | ||
/object/testfiles/dwarf/base.cpp:28 | ||
0x000000000000107f | ||
main | ||
/object/testfiles/dwarf/base.cpp:28 | ||
0x0000000000001084 | ||
main | ||
/object/testfiles/dwarf/base.cpp:30 | ||
0x0000000000001190 | ||
_ZN3Foo3barEPKc | ||
/object/testfiles/dwarf/base.cpp:12 | ||
0x0000000000001194 | ||
_ZN3Foo3barEPKc | ||
/object/testfiles/dwarf/base.cpp:14 | ||
0x00000000000011b0 | ||
_ZN3Foo3barEPKc | ||
/object/testfiles/dwarf/base.cpp:15 | ||
0x00000000000011b3 | ||
_ZN3Foo3barEPKc | ||
/object/testfiles/dwarf/base.cpp:15 | ||
0x00000000000011b7 | ||
_ZN3Foo3barEPKc | ||
/object/testfiles/dwarf/base.cpp:15 | ||
0x00000000000011bb | ||
_ZN3Foo3barEPKc | ||
/object/testfiles/dwarf/base.cpp:14 | ||
0x00000000000011c0 | ||
_ZN3Foo3barEPKc | ||
/object/testfiles/dwarf/base.cpp:16 | ||
0x00000000000011d0 | ||
_ZN3Foo3fooEi | ||
/object/testfiles/dwarf/base.cpp:19 | ||
0x00000000000011d4 | ||
_ZN3Foo3fooEi | ||
/object/testfiles/dwarf/base.cpp:20 | ||
0x0000000000001200 | ||
_ZN3Foo3barEPKc | ||
/object/testfiles/dwarf/base.cpp:15 | ||
0x0000000000001203 | ||
_ZN3Foo3barEPKc | ||
/object/testfiles/dwarf/base.cpp:15 | ||
0x0000000000001207 | ||
_ZN3Foo3barEPKc | ||
/object/testfiles/dwarf/base.cpp:15 | ||
0x000000000000120b | ||
_ZN3Foo3barEPKc | ||
/object/testfiles/dwarf/base.cpp:14 | ||
0x0000000000001230 | ||
_ZN3Foo3barEPKc | ||
/object/testfiles/dwarf/base.cpp:15 | ||
0x0000000000001233 | ||
_ZN3Foo3barEPKc | ||
/object/testfiles/dwarf/base.cpp:15 | ||
0x0000000000001237 | ||
_ZN3Foo3barEPKc | ||
/object/testfiles/dwarf/base.cpp:15 | ||
0x000000000000123b | ||
_ZN3Foo3barEPKc | ||
/object/testfiles/dwarf/base.cpp:14 | ||
0x0000000000001240 | ||
_ZN3Foo3fooEi | ||
/object/testfiles/dwarf/base.cpp:24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
0x0000000000001060 | ||
/object/testfiles/dwarf/base.cpp:26 | ||
0x0000000000001068 | ||
/object/testfiles/dwarf/base.cpp:26 | ||
0x000000000000106a | ||
/object/testfiles/dwarf/base.cpp:26 | ||
0x000000000000107a | ||
/object/testfiles/dwarf/base.cpp:28 | ||
0x000000000000107f | ||
/object/testfiles/dwarf/base.cpp:28 | ||
0x0000000000001084 | ||
/object/testfiles/dwarf/base.cpp:30 | ||
0x0000000000001190 | ||
/object/testfiles/dwarf/base.cpp:12 | ||
0x0000000000001194 | ||
/object/testfiles/dwarf/base.cpp:14 | ||
0x00000000000011b0 | ||
/object/testfiles/dwarf/base.cpp:15 | ||
0x00000000000011b3 | ||
/object/testfiles/dwarf/base.cpp:15 | ||
0x00000000000011b7 | ||
/object/testfiles/dwarf/base.cpp:15 | ||
0x00000000000011bb | ||
/object/testfiles/dwarf/base.cpp:14 | ||
0x00000000000011c0 | ||
/object/testfiles/dwarf/base.cpp:16 | ||
0x00000000000011d0 | ||
/object/testfiles/dwarf/base.cpp:19 | ||
0x00000000000011d4 | ||
/object/testfiles/dwarf/base.cpp:20 | ||
0x0000000000001200 | ||
/object/testfiles/dwarf/base.cpp:15 | ||
/object/testfiles/dwarf/base.cpp:21 | ||
0x0000000000001203 | ||
/object/testfiles/dwarf/base.cpp:15 | ||
/object/testfiles/dwarf/base.cpp:21 | ||
0x0000000000001207 | ||
/object/testfiles/dwarf/base.cpp:15 | ||
/object/testfiles/dwarf/base.cpp:21 | ||
0x000000000000120b | ||
/object/testfiles/dwarf/base.cpp:14 | ||
/object/testfiles/dwarf/base.cpp:21 | ||
0x0000000000001230 | ||
/object/testfiles/dwarf/base.cpp:15 | ||
/object/testfiles/dwarf/base.cpp:23 | ||
0x0000000000001233 | ||
/object/testfiles/dwarf/base.cpp:15 | ||
/object/testfiles/dwarf/base.cpp:23 | ||
0x0000000000001237 | ||
/object/testfiles/dwarf/base.cpp:15 | ||
/object/testfiles/dwarf/base.cpp:23 | ||
0x000000000000123b | ||
/object/testfiles/dwarf/base.cpp:14 | ||
/object/testfiles/dwarf/base.cpp:23 | ||
0x0000000000001240 | ||
/object/testfiles/dwarf/base.cpp:24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
0x0000000000001060 | ||
main | ||
/object/testfiles/dwarf/base.cpp:26 | ||
0x0000000000001068 | ||
main | ||
/object/testfiles/dwarf/base.cpp:26 | ||
0x000000000000106a | ||
main | ||
/object/testfiles/dwarf/base.cpp:26 | ||
0x000000000000107a | ||
main | ||
/object/testfiles/dwarf/base.cpp:28 | ||
0x000000000000107f | ||
main | ||
/object/testfiles/dwarf/base.cpp:28 | ||
0x0000000000001084 | ||
main | ||
/object/testfiles/dwarf/base.cpp:30 | ||
0x0000000000001190 | ||
_ZN3Foo3barEPKc | ||
/object/testfiles/dwarf/base.cpp:12 | ||
0x0000000000001194 | ||
_ZN3Foo3barEPKc | ||
/object/testfiles/dwarf/base.cpp:14 | ||
0x00000000000011b0 | ||
_ZN3Foo3barEPKc | ||
/object/testfiles/dwarf/base.cpp:15 | ||
0x00000000000011b3 | ||
_ZN3Foo3barEPKc | ||
/object/testfiles/dwarf/base.cpp:15 | ||
0x00000000000011b7 | ||
_ZN3Foo3barEPKc | ||
/object/testfiles/dwarf/base.cpp:15 | ||
0x00000000000011bb | ||
_ZN3Foo3barEPKc | ||
/object/testfiles/dwarf/base.cpp:14 | ||
0x00000000000011c0 | ||
_ZN3Foo3barEPKc | ||
/object/testfiles/dwarf/base.cpp:16 | ||
0x00000000000011d0 | ||
_ZN3Foo3fooEi | ||
/object/testfiles/dwarf/base.cpp:19 | ||
0x00000000000011d4 | ||
_ZN3Foo3fooEi | ||
/object/testfiles/dwarf/base.cpp:20 | ||
0x0000000000001200 | ||
_ZN3Foo3barEPKc | ||
/object/testfiles/dwarf/base.cpp:15 | ||
_ZN3Foo3fooEi | ||
/object/testfiles/dwarf/base.cpp:21 | ||
0x0000000000001203 | ||
_ZN3Foo3barEPKc | ||
/object/testfiles/dwarf/base.cpp:15 | ||
_ZN3Foo3fooEi | ||
/object/testfiles/dwarf/base.cpp:21 | ||
0x0000000000001207 | ||
_ZN3Foo3barEPKc | ||
/object/testfiles/dwarf/base.cpp:15 | ||
_ZN3Foo3fooEi | ||
/object/testfiles/dwarf/base.cpp:21 | ||
0x000000000000120b | ||
_ZN3Foo3barEPKc | ||
/object/testfiles/dwarf/base.cpp:14 | ||
_ZN3Foo3fooEi | ||
/object/testfiles/dwarf/base.cpp:21 | ||
0x0000000000001230 | ||
_ZN3Foo3barEPKc | ||
/object/testfiles/dwarf/base.cpp:15 | ||
_ZN3Foo3fooEi | ||
/object/testfiles/dwarf/base.cpp:23 | ||
0x0000000000001233 | ||
_ZN3Foo3barEPKc | ||
/object/testfiles/dwarf/base.cpp:15 | ||
_ZN3Foo3fooEi | ||
/object/testfiles/dwarf/base.cpp:23 | ||
0x0000000000001237 | ||
_ZN3Foo3barEPKc | ||
/object/testfiles/dwarf/base.cpp:15 | ||
_ZN3Foo3fooEi | ||
/object/testfiles/dwarf/base.cpp:23 | ||
0x000000000000123b | ||
_ZN3Foo3barEPKc | ||
/object/testfiles/dwarf/base.cpp:14 | ||
_ZN3Foo3fooEi | ||
/object/testfiles/dwarf/base.cpp:23 | ||
0x0000000000001240 | ||
_ZN3Foo3fooEi | ||
/object/testfiles/dwarf/base.cpp:24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
0x0000000000001060: /object/testfiles/dwarf/base.cpp:26 | ||
0x0000000000001068: /object/testfiles/dwarf/base.cpp:26 | ||
0x000000000000106a: /object/testfiles/dwarf/base.cpp:26 | ||
0x000000000000107a: /object/testfiles/dwarf/base.cpp:28 | ||
0x000000000000107f: /object/testfiles/dwarf/base.cpp:28 | ||
0x0000000000001084: /object/testfiles/dwarf/base.cpp:30 | ||
0x0000000000001190: /object/testfiles/dwarf/base.cpp:12 | ||
0x0000000000001194: /object/testfiles/dwarf/base.cpp:14 | ||
0x00000000000011b0: /object/testfiles/dwarf/base.cpp:15 | ||
0x00000000000011b3: /object/testfiles/dwarf/base.cpp:15 | ||
0x00000000000011b7: /object/testfiles/dwarf/base.cpp:15 | ||
0x00000000000011bb: /object/testfiles/dwarf/base.cpp:14 | ||
0x00000000000011c0: /object/testfiles/dwarf/base.cpp:16 | ||
0x00000000000011d0: /object/testfiles/dwarf/base.cpp:19 | ||
0x00000000000011d4: /object/testfiles/dwarf/base.cpp:20 | ||
0x0000000000001200: /object/testfiles/dwarf/base.cpp:15 | ||
(inlined by) /object/testfiles/dwarf/base.cpp:21 | ||
0x0000000000001203: /object/testfiles/dwarf/base.cpp:15 | ||
(inlined by) /object/testfiles/dwarf/base.cpp:21 | ||
0x0000000000001207: /object/testfiles/dwarf/base.cpp:15 | ||
(inlined by) /object/testfiles/dwarf/base.cpp:21 | ||
0x000000000000120b: /object/testfiles/dwarf/base.cpp:14 | ||
(inlined by) /object/testfiles/dwarf/base.cpp:21 | ||
0x0000000000001230: /object/testfiles/dwarf/base.cpp:15 | ||
(inlined by) /object/testfiles/dwarf/base.cpp:23 | ||
0x0000000000001233: /object/testfiles/dwarf/base.cpp:15 | ||
(inlined by) /object/testfiles/dwarf/base.cpp:23 | ||
0x0000000000001237: /object/testfiles/dwarf/base.cpp:15 | ||
(inlined by) /object/testfiles/dwarf/base.cpp:23 | ||
0x000000000000123b: /object/testfiles/dwarf/base.cpp:14 | ||
(inlined by) /object/testfiles/dwarf/base.cpp:23 | ||
0x0000000000001240: /object/testfiles/dwarf/base.cpp:24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
0x0000000000001060: main at /object/testfiles/dwarf/base.cpp:26 | ||
0x0000000000001068: main at /object/testfiles/dwarf/base.cpp:26 | ||
0x000000000000106a: main at /object/testfiles/dwarf/base.cpp:26 | ||
0x000000000000107a: main at /object/testfiles/dwarf/base.cpp:28 | ||
0x000000000000107f: main at /object/testfiles/dwarf/base.cpp:28 | ||
0x0000000000001084: main at /object/testfiles/dwarf/base.cpp:30 | ||
0x0000000000001190: _ZN3Foo3barEPKc at /object/testfiles/dwarf/base.cpp:12 | ||
0x0000000000001194: _ZN3Foo3barEPKc at /object/testfiles/dwarf/base.cpp:14 | ||
0x00000000000011b0: _ZN3Foo3barEPKc at /object/testfiles/dwarf/base.cpp:15 | ||
0x00000000000011b3: _ZN3Foo3barEPKc at /object/testfiles/dwarf/base.cpp:15 | ||
0x00000000000011b7: _ZN3Foo3barEPKc at /object/testfiles/dwarf/base.cpp:15 | ||
0x00000000000011bb: _ZN3Foo3barEPKc at /object/testfiles/dwarf/base.cpp:14 | ||
0x00000000000011c0: _ZN3Foo3barEPKc at /object/testfiles/dwarf/base.cpp:16 | ||
0x00000000000011d0: _ZN3Foo3fooEi at /object/testfiles/dwarf/base.cpp:19 | ||
0x00000000000011d4: _ZN3Foo3fooEi at /object/testfiles/dwarf/base.cpp:20 | ||
0x0000000000001200: _ZN3Foo3barEPKc at /object/testfiles/dwarf/base.cpp:15 | ||
(inlined by) _ZN3Foo3fooEi at /object/testfiles/dwarf/base.cpp:21 | ||
0x0000000000001203: _ZN3Foo3barEPKc at /object/testfiles/dwarf/base.cpp:15 | ||
(inlined by) _ZN3Foo3fooEi at /object/testfiles/dwarf/base.cpp:21 | ||
0x0000000000001207: _ZN3Foo3barEPKc at /object/testfiles/dwarf/base.cpp:15 | ||
(inlined by) _ZN3Foo3fooEi at /object/testfiles/dwarf/base.cpp:21 | ||
0x000000000000120b: _ZN3Foo3barEPKc at /object/testfiles/dwarf/base.cpp:14 | ||
(inlined by) _ZN3Foo3fooEi at /object/testfiles/dwarf/base.cpp:21 | ||
0x0000000000001230: _ZN3Foo3barEPKc at /object/testfiles/dwarf/base.cpp:15 | ||
(inlined by) _ZN3Foo3fooEi at /object/testfiles/dwarf/base.cpp:23 | ||
0x0000000000001233: _ZN3Foo3barEPKc at /object/testfiles/dwarf/base.cpp:15 | ||
(inlined by) _ZN3Foo3fooEi at /object/testfiles/dwarf/base.cpp:23 | ||
0x0000000000001237: _ZN3Foo3barEPKc at /object/testfiles/dwarf/base.cpp:15 | ||
(inlined by) _ZN3Foo3fooEi at /object/testfiles/dwarf/base.cpp:23 | ||
0x000000000000123b: _ZN3Foo3barEPKc at /object/testfiles/dwarf/base.cpp:14 | ||
(inlined by) _ZN3Foo3fooEi at /object/testfiles/dwarf/base.cpp:23 | ||
0x0000000000001240: _ZN3Foo3fooEi at /object/testfiles/dwarf/base.cpp:24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
0x0000000000001060: base.cpp:26 | ||
0x0000000000001068: base.cpp:26 | ||
0x000000000000106a: base.cpp:26 | ||
0x000000000000107a: base.cpp:28 | ||
0x000000000000107f: base.cpp:28 | ||
0x0000000000001084: base.cpp:30 | ||
0x0000000000001190: base.cpp:12 | ||
0x0000000000001194: base.cpp:14 | ||
0x00000000000011b0: base.cpp:15 | ||
0x00000000000011b3: base.cpp:15 | ||
0x00000000000011b7: base.cpp:15 | ||
0x00000000000011bb: base.cpp:14 | ||
0x00000000000011c0: base.cpp:16 | ||
0x00000000000011d0: base.cpp:19 | ||
0x00000000000011d4: base.cpp:20 | ||
0x0000000000001200: base.cpp:15 | ||
(inlined by) base.cpp:21 | ||
0x0000000000001203: base.cpp:15 | ||
(inlined by) base.cpp:21 | ||
0x0000000000001207: base.cpp:15 | ||
(inlined by) base.cpp:21 | ||
0x000000000000120b: base.cpp:14 | ||
(inlined by) base.cpp:21 | ||
0x0000000000001230: base.cpp:15 | ||
(inlined by) base.cpp:23 | ||
0x0000000000001233: base.cpp:15 | ||
(inlined by) base.cpp:23 | ||
0x0000000000001237: base.cpp:15 | ||
(inlined by) base.cpp:23 | ||
0x000000000000123b: base.cpp:14 | ||
(inlined by) base.cpp:23 | ||
0x0000000000001240: base.cpp:24 |
Oops, something went wrong.