(result, filters: ParseFiltersAndOutputOptions, compilationInfo: CompilationInfo)
| 243 | } |
| 244 | |
| 245 | override async extractDeviceCode(result, filters: ParseFiltersAndOutputOptions, compilationInfo: CompilationInfo) { |
| 246 | const split = await this.splitDeviceCode(result.asm); |
| 247 | if (!split) return result; |
| 248 | |
| 249 | result.devices = {}; |
| 250 | for (const key of Object.keys(split)) { |
| 251 | if (key.indexOf('host-') === 0) result.asm = split[key]; |
| 252 | else result.devices[key] = await this.processDeviceAssembly(key, split[key], filters, compilationInfo); |
| 253 | } |
| 254 | return result; |
| 255 | } |
| 256 | |
| 257 | async extractBitcodeFromBundle(bundlefile: string, devicename: string): Promise<string> { |
| 258 | const bcfile = path.join(path.dirname(bundlefile), devicename + '.bc'); |
nothing calls this directly
no test coverage detected