diff options
author | partouf <partouf@gmail.com> | 2023-11-30 00:39:10 +0100 |
---|---|---|
committer | partouf <partouf@gmail.com> | 2023-11-30 00:39:10 +0100 |
commit | e129f242b1df184e332ae4efc6bdf7890c030f02 (patch) | |
tree | ae1544f9df1ae6b01d7162aeae136e0d9998380f /lib/compilers | |
parent | 142691231d82c7577f3e9bb86547f7a21c472a12 (diff) | |
parent | b918a936fb96e95b26953db887adc6ecfc0b99ad (diff) | |
download | compiler-explorer-gh-9782.tar.gz compiler-explorer-gh-9782.zip |
Merge branch 'main' of https://github.com/compiler-explorer/compiler-explorer into maingh-9782
Diffstat (limited to 'lib/compilers')
-rw-r--r-- | lib/compilers/ldc.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/compilers/ldc.ts b/lib/compilers/ldc.ts index 389a857ef..74e503d48 100644 --- a/lib/compilers/ldc.ts +++ b/lib/compilers/ldc.ts @@ -136,6 +136,7 @@ export class LDCCompiler extends BaseCompiler { // Override the IR file name method for LDC because the output file is different from clang. override getIrOutputFilename(inputFilename) { - return utils.changeExtension(inputFilename, '.ll'); + const outputFilename = this.getOutputFilename(path.dirname(inputFilename), this.outputFilebase); + return utils.changeExtension(outputFilename, '.ll'); } } |