diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2023-05-22 17:22:22 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-22 17:22:22 -0400 |
| commit | 972a931452c3f06a23a4f67ccfb655851df53fa4 (patch) | |
| tree | 309a75c5239af163e47bc0e123d023683c1ec74a /source/slang/slang-artifact-output-util.cpp | |
| parent | 33e15236c6fd8623bc516a194ca65e8810f1f855 (diff) | |
Source embedding for output (#2889)
* #include an absolute path didn't work - because paths were taken to always be relative.
* Fix typo.
* Add options for source embedding.
* Small improvements.
* Working with tests.
* Add check for supported language types for embedding.
* Try and remove assume warning.
* Fix warning on MacOSX.
* Some extra checking around Style::Text.
* Some small improvements to docs/handling for headers extensions.
* Fix md issue.
* Small fixes around zeroing partial last element.
* Another small fix....
* Small improvement in hex conversion.
* Add an assert for unsignedness.
Diffstat (limited to 'source/slang/slang-artifact-output-util.cpp')
| -rw-r--r-- | source/slang/slang-artifact-output-util.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/slang-artifact-output-util.cpp b/source/slang/slang-artifact-output-util.cpp index 80c11a466..32aff9f43 100644 --- a/source/slang/slang-artifact-output-util.cpp +++ b/source/slang/slang-artifact-output-util.cpp @@ -25,7 +25,7 @@ namespace Slang assemblyDesc.kind = ArtifactKind::Assembly; // Check it seems like a plausbile disassembly - if (!ArtifactDescUtil::isDissassembly(desc, assemblyDesc)) + if (!ArtifactDescUtil::isDisassembly(desc, assemblyDesc)) { if (sink) { @@ -77,7 +77,7 @@ SlangResult ArtifactOutputUtil::maybeDisassemble(Session* session, IArtifact* ar toDesc.kind = ArtifactKind::Assembly; // If this likes a playsible disassebly conversion - if (ArtifactDescUtil::isDissassembly(desc, toDesc)) + if (ArtifactDescUtil::isDisassembly(desc, toDesc)) { ComPtr<IArtifact> disassemblyArtifact; |
