MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / runExecutable

Method runExecutable

lib/compilers/clang.ts:132–145  ·  view source on GitHub ↗
(executable: string, executeParameters: ExecutableExecutionOptions, homeDir: string)

Source from the content-addressed store, hash-verified

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

Callers 1

runExecutableMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected