Rename `example-windows` as `example-windows.exe`.
Because this is the usual naming convention on Windows, and will make Breakpad symbols testing on Windows easier.
This commit is contained in:
Родитель
6389b2f993
Коммит
2ef424cd12
|
@ -112,10 +112,10 @@ fn test_windows() {
|
|||
|
||||
let mut fixer = Fixer::new(JsonMode::Yes, None);
|
||||
|
||||
// Test various addresses using `example-windows`, which redirects to
|
||||
// Test various addresses using `example-windows.exe`, which redirects to
|
||||
// `example-windows.pdb`.
|
||||
let mut func = |name, addr, linenum| {
|
||||
let line = format!("#00: ???[tests/example-windows +0x{:x}]", addr);
|
||||
let line = format!("#00: ???[tests/example-windows.exe +0x{:x}]", addr);
|
||||
let line = fixer.fix(line);
|
||||
assert_eq!(
|
||||
line,
|
||||
|
|
|
@ -35,12 +35,12 @@ clang -g example.c -o example-linux
|
|||
|
||||
### Windows
|
||||
|
||||
`example-windows` and `example-windows.pdb` were produced on a Windows 10 laptop
|
||||
by clang 9.0 with this command:
|
||||
`example-windows.exe` and `example-windows.pdb` were produced on a Windows 10
|
||||
laptop by clang 9.0 with this command:
|
||||
```
|
||||
clang -g example.c -o example-windows
|
||||
clang -g example.c -o example-windows.exe
|
||||
```
|
||||
`example-windows` was then hex-edited to change the PDB reference from the
|
||||
`example-windows.exe` was then hex-edited to change the PDB reference from the
|
||||
absolute path `c:\Users\njn\moz\fix-stacks\tests\example-windows.pdb` to the
|
||||
relative path `tests/////////////////////////////example-windows.pdb`. (The use
|
||||
of many redundant forward slashes is a hack to keep the path the same length,
|
||||
|
|
Загрузка…
Ссылка в новой задаче