aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/ldc.js
diff options
context:
space:
mode:
authorPatrick Quist <partouf@gmail.com>2022-07-20 20:43:48 +0200
committerGitHub <noreply@github.com>2022-07-20 20:43:48 +0200
commit457c76c4320b1c4a9ca878e28355d96d95b3e2fd (patch)
tree0c261b73a072e377f7174767818b9476a67cda11 /lib/compilers/ldc.js
parentd319bca54cb316c8f2d5002214e36a2cf8e2b98f (diff)
downloadcompiler-explorer-457c76c4320b1c4a9ca878e28355d96d95b3e2fd.tar.gz
compiler-explorer-457c76c4320b1c4a9ca878e28355d96d95b3e2fd.zip
Ldcsymbolizer (#3891)gh-3687
Diffstat (limited to 'lib/compilers/ldc.js')
-rw-r--r--lib/compilers/ldc.js9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/compilers/ldc.js b/lib/compilers/ldc.js
index 2ab8e7cce..15bbd584f 100644
--- a/lib/compilers/ldc.js
+++ b/lib/compilers/ldc.js
@@ -42,16 +42,13 @@ export class LDCCompiler extends BaseCompiler {
this.compiler.supportsIntel = true;
this.compiler.supportsIrView = true;
this.compiler.irArg = ['-output-ll'];
-
+
this.compiler.supportsLLVMOptPipelineView = true;
this.compiler.llvmOptArg = ['--print-after-all', '--print-before-all'];
this.compiler.llvmOptModuleScopeArg = ['--print-module-scope'];
this.compiler.llvmOptNoDiscardValueNamesArg = []; // LDC does not have a flag for this yet.
-
- const asanSymbolizerPath = path.join(path.dirname(this.compiler.exe), 'llvm-symbolizer');
- if (fs.existsSync(asanSymbolizerPath)) {
- this.asanSymbolizerPath = asanSymbolizerPath;
- }
+
+ this.asanSymbolizerPath = this.compilerProps('llvmSymbolizer');
}
runExecutable(executable, executeParameters, homeDir) {