fix torture; adjust raddbg test exemplar dumping to avoid dumping info for anything other than the main module, so that we don't get non-deterministic dumps (for e.g. system PDBs)

This commit is contained in:
Ryan Fleury committed 2026-06-10 07:57:18 -07:00
1 parent 9af4c3d614
commit 40d9e5839f
10 files changed
+39 -66

No files matched your search

+15 -1
View File
@@ -6,6 +6,10 @@
** stepping, breakpoints, evaluation, cross-module calls.
*/
#if defined(__clang__)
#define _ALLOW_COMPILER_AND_STL_VERSION_MISMATCH 1
#endif
#if _WIN32 && _DEBUG
#pragma comment(linker, "/nodefaultlib:libcmt")
#pragma comment(lib, "libcmtd")
@@ -2363,7 +2367,8 @@ overloaded_function(int x){
// NOTE(allen): Control Flow Stepping
static void
control_flow_stepping_tests(void){
control_flow_stepping_tests(void)
{
{
int a = 1;
if (a < 1){
@@ -2532,6 +2537,15 @@ control_flow_stepping_tests(void){
} while (i < 10);
}
#if defined(__clang__)
for (int i = 0; i < 1;
++i, ({ goto exit; }))
{
int x = 0;
}
exit:;
#endif
{
int i = 17;