Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[lldb] add lit.local.cfg for breakpad tests
The reason is to add .yaml as a valid test suffix. The test folder contains one yaml file, which wasn't being run because of that. Unsurprisingly the test fails, but this was not because the underlying functionality was broken, but rather because the test was setup incorrectly (most likely due to overly aggressive simplification of the test data on my part). Therefore this patch also tweaks the test inputs in order to test what they are supposed to test, and also updates some other breakpad tests (because they depend on the same inputs as this one) to be more realistic -- specifically it avoids putting symbols to the first page of the module, as that's where normally the COFF header would reside.
- Loading branch information
Showing
7 changed files
with
41 additions
and
88 deletions.
There are no files selected for viewing
26 changes: 13 additions & 13 deletions
26
lldb/test/Shell/SymbolFile/Breakpad/Inputs/unwind-via-raSearch.syms
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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
MODULE windows x86 897DD83EA8C8411897F3A925EE4BF7411 unwind-via-stack-win.pdb | ||
INFO CODE_ID 5D499B5C5000 unwind-via-stack-win.exe | ||
PUBLIC 0 0 dummy | ||
PUBLIC 10 0 call_many | ||
PUBLIC 80 0 main | ||
PUBLIC 90 0 many_pointer_args | ||
PUBLIC 100 0 complex_rasearch | ||
PUBLIC 110 0 esp_rasearch | ||
PUBLIC 120 0 nonzero_frame_size | ||
STACK WIN 4 10 6d 0 0 0 0 0 0 1 $T0 .raSearch = $eip $T0 ^ = $esp $T0 4 + = | ||
STACK WIN 4 80 8 0 0 0 0 0 0 1 $T0 .raSearch = $eip $T0 ^ = $esp $T0 4 + = | ||
STACK WIN 4 90 5 0 0 50 0 0 0 1 $T0 .raSearch = $eip $T0 ^ = $esp $T0 4 + = | ||
STACK WIN 4 100 4 0 0 0 0 0 0 1 $T0 .raSearch 80 + = $eip $T0 ^ = $esp $T0 4 + = | ||
STACK WIN 4 110 4 0 0 0 0 0 0 1 $T0 .raSearch = $eip $T0 ^ = $esp .raSearch 4 + = | ||
STACK WIN 4 120 4 0 0 0 4 8 0 1 $T0 .raSearch = $eip $T0 ^ = $esp $T0 4 + = | ||
PUBLIC 1000 0 dummy | ||
PUBLIC 1010 0 call_many | ||
PUBLIC 1080 0 main | ||
PUBLIC 1090 0 many_pointer_args | ||
PUBLIC 1100 0 complex_rasearch | ||
PUBLIC 1110 0 esp_rasearch | ||
PUBLIC 1120 0 nonzero_frame_size | ||
STACK WIN 4 1010 6d 0 0 0 0 0 0 1 $T0 .raSearch = $eip $T0 ^ = $esp $T0 4 + = | ||
STACK WIN 4 1080 8 0 0 0 0 0 0 1 $T0 .raSearch = $eip $T0 ^ = $esp $T0 4 + = | ||
STACK WIN 4 1090 5 0 0 50 0 0 0 1 $T0 .raSearch = $eip $T0 ^ = $esp $T0 4 + = | ||
STACK WIN 4 1100 4 0 0 0 0 0 0 1 $T0 .raSearch 80 + = $eip $T0 ^ = $esp $T0 4 + = | ||
STACK WIN 4 1110 4 0 0 0 0 0 0 1 $T0 .raSearch = $eip $T0 ^ = $esp .raSearch 4 + = | ||
STACK WIN 4 1120 4 0 0 0 4 8 0 1 $T0 .raSearch = $eip $T0 ^ = $esp $T0 4 + = |
30 changes: 15 additions & 15 deletions
30
lldb/test/Shell/SymbolFile/Breakpad/Inputs/unwind-via-stack-win.syms
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 |
---|---|---|
@@ -1,17 +1,17 @@ | ||
MODULE windows x86 897DD83EA8C8411897F3A925EE4BF7411 unwind-via-stack-win.pdb | ||
INFO CODE_ID 5D499B5C5000 unwind-via-stack-win.exe | ||
PUBLIC 0 0 dummy | ||
PUBLIC 10 0 call_many | ||
PUBLIC 80 0 main | ||
PUBLIC 90 0 many_pointer_args | ||
PUBLIC 100 0 bogus_rule | ||
PUBLIC 110 0 bogus_cfa_rhs | ||
PUBLIC 120 0 bogus_esp_rhs | ||
PUBLIC 130 0 temporary_var | ||
STACK WIN 4 10 6d 0 0 0 0 0 0 1 $T0 $esp 80 + = $eip $T0 ^ = $esp $T0 4 + = | ||
STACK WIN 4 80 8 0 0 0 0 0 0 1 $T0 $esp = $eip $T0 ^ = $esp $T0 4 + = | ||
STACK WIN 4 90 5 0 0 50 0 0 0 1 $T0 $esp = $eip $T0 ^ = $esp $T0 4 + = | ||
STACK WIN 4 100 4 0 0 0 0 0 0 1 bogus | ||
STACK WIN 4 110 4 0 0 0 0 0 0 1 $T0 $bogus = $eip $T0 ^ = $esp $T0 4 + = | ||
STACK WIN 4 120 4 0 0 0 0 0 0 1 $T0 $esp = $eip $T0 ^ = $esp $bogus 4 + = | ||
STACK WIN 4 130 4 0 0 0 0 0 0 1 $T0 $esp = $bogus $T0 = $eip $bogus ^ = $esp $T0 4 + = | ||
PUBLIC 1000 0 dummy | ||
PUBLIC 1010 0 call_many | ||
PUBLIC 1080 0 main | ||
PUBLIC 1090 0 many_pointer_args | ||
PUBLIC 1100 0 bogus_rule | ||
PUBLIC 1110 0 bogus_cfa_rhs | ||
PUBLIC 1120 0 bogus_esp_rhs | ||
PUBLIC 1130 0 temporary_var | ||
STACK WIN 4 1010 6d 0 0 0 0 0 0 1 $T0 $esp 80 + = $eip $T0 ^ = $esp $T0 4 + = | ||
STACK WIN 4 1080 8 0 0 0 0 0 0 1 $T0 $esp = $eip $T0 ^ = $esp $T0 4 + = | ||
STACK WIN 4 1090 5 0 0 50 0 0 0 1 $T0 $esp = $eip $T0 ^ = $esp $T0 4 + = | ||
STACK WIN 4 1100 4 0 0 0 0 0 0 1 bogus | ||
STACK WIN 4 1110 4 0 0 0 0 0 0 1 $T0 $bogus = $eip $T0 ^ = $esp $T0 4 + = | ||
STACK WIN 4 1120 4 0 0 0 0 0 0 1 $T0 $esp = $eip $T0 ^ = $esp $bogus 4 + = | ||
STACK WIN 4 1130 4 0 0 0 0 0 0 1 $T0 $esp = $bogus $T0 = $eip $bogus ^ = $esp $T0 4 + = |
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 @@ | ||
config.suffixes = ['.test', '.yaml'] |
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
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