Skip to content

Commit e1c3a5a

Browse files
Force frame pointers in pdb-alt-path test case
1 parent 3c49fe0 commit e1c3a5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/run-make/pdb-alt-path/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ include ../tools.mk
44

55
all:
66
# Test that we don't have the full path to the PDB file in the binary
7-
$(RUSTC) main.rs -g --crate-name my_crate_name --crate-type bin
7+
$(RUSTC) main.rs -g --crate-name my_crate_name --crate-type bin -Cforce-frame-pointers
88
$(CGREP) "my_crate_name.pdb" < $(TMPDIR)/my_crate_name.exe
99
$(CGREP) -v "\\my_crate_name.pdb" < $(TMPDIR)/my_crate_name.exe
1010

@@ -15,6 +15,6 @@ all:
1515
$(CGREP) "pdb-alt-path\\main.rs:2" < $(TMPDIR)/backtrace.txt
1616

1717
# Test that explicitly passed `-Clink-arg=/PDBALTPATH:...` is respected
18-
$(RUSTC) main.rs -g --crate-name my_crate_name --crate-type bin -Clink-arg=/PDBALTPATH:abcdefg.pdb
18+
$(RUSTC) main.rs -g --crate-name my_crate_name --crate-type bin -Clink-arg=/PDBALTPATH:abcdefg.pdb -Cforce-frame-pointers
1919
$(CGREP) "abcdefg.pdb" < $(TMPDIR)/my_crate_name.exe
2020
$(CGREP) -v "my_crate_name.pdb" < $(TMPDIR)/my_crate_name.exe

0 commit comments

Comments
 (0)