diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2021-12-07 13:15:23 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-07 13:15:23 -0500 |
| commit | 8b3df74758c536db9535903158242dd2350e5265 (patch) | |
| tree | 98258066e11153d747448d68785bbb5be251d448 /source/slang/slang-options.cpp | |
| parent | 9e666a332aafeffdc15ceab6017fe377144a928b (diff) | |
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.
Diffstat (limited to 'source/slang/slang-options.cpp')
| -rw-r--r-- | source/slang/slang-options.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/slang/slang-options.cpp b/source/slang/slang-options.cpp index 8f5c75efa..07f474c78 100644 --- a/source/slang/slang-options.cpp +++ b/source/slang/slang-options.cpp @@ -624,6 +624,11 @@ struct OptionsParser { compileRequest->setDumpIntermediates(true); } + else if (argValue == "-dump-ir-ids") + { + requestImpl->getFrontEndReq()->m_irDumpOptions.flags |= IRDumpOptions::Flag::DumpDebugIds; + requestImpl->getBackEndReq()->m_irDumpOptions.flags |= IRDumpOptions::Flag::DumpDebugIds; + } else if (argValue == "-dump-intermediate-prefix") { CommandLineArg prefix; |
