| 130 | } |
| 131 | |
| 132 | override runExecutable(executable: string, executeParameters: ExecutableExecutionOptions, homeDir: string) { |
| 133 | if (this.asanSymbolizerPath) { |
| 134 | executeParameters.env = { |
| 135 | ASAN_SYMBOLIZER_PATH: this.asanSymbolizerPath, |
| 136 | LSAN_SYMBOLIZER_PATH: this.asanSymbolizerPath, |
| 137 | MSAN_SYMBOLIZER_PATH: this.asanSymbolizerPath, |
| 138 | RTSAN_SYMBOLIZER_PATH: this.asanSymbolizerPath, |
| 139 | TSAN_SYMBOLIZER_PATH: this.asanSymbolizerPath, |
| 140 | UBSAN_SYMBOLIZER_PATH: this.asanSymbolizerPath, |
| 141 | ...executeParameters.env, |
| 142 | }; |
| 143 | } |
| 144 | return super.runExecutable(executable, executeParameters, homeDir); |
| 145 | } |
| 146 | |
| 147 | // Clang cross-compile with -stdlib=libc++ is currently (up to at least 18.1.0) broken: |
| 148 | // https://github.com/llvm/llvm-project/issues/57104 |