From 8b3df74758c536db9535903158242dd2350e5265 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Tue, 7 Dec 2021 13:15:23 -0500 Subject: Output of IR ids as command line option (#2043) * #include an absolute path didn't work - because paths were taken to always be relative. * WIP control of dump options. * Removed SourceManager for IRDumpOptions * Arm aarch64 debug connection timeout - as CI timed out. --- source/slang/slang-emit.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'source/slang/slang-emit.cpp') diff --git a/source/slang/slang-emit.cpp b/source/slang/slang-emit.cpp index 951e6fad5..335e7f7d9 100644 --- a/source/slang/slang-emit.cpp +++ b/source/slang/slang-emit.cpp @@ -144,10 +144,7 @@ static void dumpIRIfEnabled( //FILE* f = nullptr; //fopen_s(&f, (String("dump-") + label + ".txt").getBuffer(), "wt"); //FileWriter writer(f, 0); - IRDumpOptions options; - options.sourceManager = compileRequest->getSourceManager(); - - dumpIR(irModule, options, label, &writer); + dumpIR(irModule, compileRequest->m_irDumpOptions, label, compileRequest->getSourceManager(), &writer); //fclose(f); } } -- cgit v1.2.3