diff options
author | Patrick Quist <partouf@gmail.com> | 2022-07-20 20:43:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-20 20:43:48 +0200 |
commit | 457c76c4320b1c4a9ca878e28355d96d95b3e2fd (patch) | |
tree | 0c261b73a072e377f7174767818b9476a67cda11 /lib/compilers/ldc.js | |
parent | d319bca54cb316c8f2d5002214e36a2cf8e2b98f (diff) | |
download | compiler-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.js | 9 |
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) { |