From 2ded251f7ec820829d1a31bc8b0a64d009b79af9 Mon Sep 17 00:00:00 2001 From: Nikita Smith Date: Thu, 7 May 2026 17:11:34 -0700 Subject: [PATCH] update stepping test to produce a fixed exe on windows --- src/torture/dbg_tests/basic_stepping_test.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/torture/dbg_tests/basic_stepping_test.c b/src/torture/dbg_tests/basic_stepping_test.c index 1edac62d..ff1043c8 100644 --- a/src/torture/dbg_tests/basic_stepping_test.c +++ b/src/torture/dbg_tests/basic_stepping_test.c @@ -2,8 +2,8 @@ /// windows: { /// compile: "/Od /Z7 /c main.c /Fo:main.obj" /// compile: "/Od /Z7 /c foo.c /Fo:foo.obj" -/// link: "/debug:full /dll foo.obj /out:foo.dll /implib:foo.lib" -/// link: "/debug:full main.obj foo.lib /out:main.exe" +/// link: "/fixed /debug:full /dll foo.obj /out:foo.dll /implib:foo.lib" +/// link: "/fixed /debug:full main.obj foo.lib /out:main.exe" /// launch: "main.exe" /// } /// linux: { @@ -11,6 +11,8 @@ /// launch: "./main" /// } /// } +/// +// TODO: linux: -no-pie crashes the tracer /// file: "foo.c"