summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-compiler-options.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-compiler-options.h')
-rw-r--r--source/slang/slang-compiler-options.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/slang/slang-compiler-options.h b/source/slang/slang-compiler-options.h
index dd413bee4..7205e1696 100644
--- a/source/slang/slang-compiler-options.h
+++ b/source/slang/slang-compiler-options.h
@@ -365,6 +365,11 @@ struct CompilerOptionSet
bool shouldHaveSourceMap() { return !getBoolOption(CompilerOptionName::DisableSourceMap); }
+ bool shouldEmitSeparateDebugInfo()
+ {
+ return getBoolOption(CompilerOptionName::EmitSeparateDebug);
+ }
+
FloatingPointMode getFloatingPointMode()
{
return getEnumOption<FloatingPointMode>(CompilerOptionName::FloatingPointMode);