diff options
Diffstat (limited to 'lib/compilers/dmd.js')
-rw-r--r-- | lib/compilers/dmd.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/compilers/dmd.js b/lib/compilers/dmd.js index a175328f6..ee1feb189 100644 --- a/lib/compilers/dmd.js +++ b/lib/compilers/dmd.js @@ -62,22 +62,6 @@ export class DMDCompiler extends BaseCompiler { return this.runCompiler(compiler, options, inputFilename, execOptions); } - async objdump(outputFilename, result, maxSize, intelAsm, demangle) { - const dirPath = path.dirname(outputFilename); - let args = ['-d', outputFilename, '-l', '--insn-width=16']; - if (demangle) args = args.concat('-C'); - if (intelAsm) args = args.concat(['-M', 'intel']); - const objResult = await this.exec( - this.compiler.objdumper, args, {maxOutput: maxSize, customCwd: dirPath}); - result.asm = objResult.stdout; - if (objResult.code !== 0) { - result.asm = `<No output: objdump returned ${objResult.code}>`; - } else { - result.objdumpTime = objResult.execTime; - } - return result; - } - getArgumentParser() { return ClangParser; } |