diff options
| author | Dietrich Geisler <dag368@cornell.edu> | 2020-12-18 10:10:10 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-18 09:10:10 -0800 |
| commit | f5fffa90e936ab462b3842f9b2cfa996ae870fe4 (patch) | |
| tree | 4c199062c18975d6de680c1b69fba9e149ca27e7 /source/slang/slang-emit.cpp | |
| parent | 0fa3bcffc7065927b18d1da2de722d1cb1b53ebf (diff) | |
Heterogeneous Flag Error Visibility (#1642)
* PR to fix issue #1638. This change introduces a diagnostic sink to the
emitModule function, and updates all associated calls to that function.
Additionally, this commit updates the heterogeneous hello world example
to not need the entry and stage flags for simplicity.
* Updated emit-cpp per suggested changes
Co-authored-by: Tim Foley <tfoleyNV@users.noreply.github.com>
Diffstat (limited to 'source/slang/slang-emit.cpp')
| -rw-r--r-- | source/slang/slang-emit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-emit.cpp b/source/slang/slang-emit.cpp index 2118268cd..ef1442a1b 100644 --- a/source/slang/slang-emit.cpp +++ b/source/slang/slang-emit.cpp @@ -806,7 +806,7 @@ SlangResult emitEntryPointsSourceFromIR( #if 0 dumpIR(compileRequest, irModule, "PRE-EMIT"); #endif - sourceEmitter->emitModule(irModule); + sourceEmitter->emitModule(irModule, sink); } String code = sourceWriter.getContent(); |
