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:
Nicholas Nethercote 2020-03-13 12:18:47 +11:00
Родитель 6389b2f993
Коммит 2ef424cd12
3 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -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,

Просмотреть файл