summaryrefslogtreecommitdiff
path: root/source/slang/slang-compiler.h
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2023-03-24 09:56:59 -0400
committerGitHub <noreply@github.com>2023-03-24 09:56:59 -0400
commite794de0d63e6de9be564c971fd40486ecf631293 (patch)
tree903bd4100fd9c259d68f2893c61a36880e182f14 /source/slang/slang-compiler.h
parent03c10833beb331e234554808c2a80d3cadecc7c0 (diff)
Obfuscated source map writing (#2727)
* #include an absolute path didn't work - because paths were taken to always be relative. * WIP produce obfuscated source map and write when container is specified. * Make the sourcemap generated name stable.
Diffstat (limited to 'source/slang/slang-compiler.h')
-rwxr-xr-xsource/slang/slang-compiler.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/slang/slang-compiler.h b/source/slang/slang-compiler.h
index fcf62d826..b287b21eb 100755
--- a/source/slang/slang-compiler.h
+++ b/source/slang/slang-compiler.h
@@ -2625,9 +2625,9 @@ namespace Slang
// If it's set to a format, the container blob will be calculated during compile
ContainerFormat m_containerFormat = ContainerFormat::None;
- /// Where the container blob is stored. This is calculated as part of compile if m_containerFormat is set to
+ /// Where the container is stored. This is calculated as part of compile if m_containerFormat is set to
/// a supported format.
- ComPtr<ISlangBlob> m_containerBlob;
+ ComPtr<IArtifact> m_containerArtifact;
// Path to output container to
String m_containerOutputPath;
@@ -2775,6 +2775,9 @@ namespace Slang
void init();
+ SlangResult _createContainer();
+ SlangResult _completeContainer();
+
Session* m_session = nullptr;
RefPtr<Linkage> m_linkage;
DiagnosticSink m_sink;