(info: PreliminaryCompilerInfo, env: CompilationEnvironment)
| 43 | } |
| 44 | |
| 45 | constructor(info: PreliminaryCompilerInfo, env: CompilationEnvironment) { |
| 46 | super(info, env); |
| 47 | this.compiler.supportsIntel = true; |
| 48 | this.compiler.supportsIrView = true; |
| 49 | |
| 50 | // The --abort-after-dump option was introduced in v0.19.3. Do not use it before that. |
| 51 | if (Semver.lte(asSafeVer(this.compiler.semver), '0.19.2', true)) { |
| 52 | this.compiler.irArg = ['-ir']; |
| 53 | this.compiler.minIrArgs = ['-ir']; |
| 54 | } else { |
| 55 | this.compiler.irArg = ['-ir', '--abort-after-dump']; |
| 56 | this.compiler.minIrArgs = ['-ir', '--abort-after-dump']; |
| 57 | } |
| 58 | |
| 59 | this.compiler.optPipeline = { |
| 60 | arg: ['-llvm', '-print-after-all', '-llvm', '-print-before-all'], |
| 61 | moduleScopeArg: ['-llvm', '-print-module-scope'], |
| 62 | noDiscardValueNamesArg: [], |
| 63 | }; |
| 64 | } |
| 65 | |
| 66 | override getSharedLibraryPathsAsArguments() { |
| 67 | return []; |
nothing calls this directly
no test coverage detected