Skip to content

Commit

Permalink
Fix #4585 (#4586)
Browse files Browse the repository at this point in the history
  • Loading branch information
OfekShilon committed Jan 13, 2023
1 parent ae133c2 commit a360a3f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/base-compiler.ts
Expand Up @@ -2393,7 +2393,11 @@ export class BaseCompiler implements ICompiler {
.pipe(new compilerOptInfo.LLVMOptTransformer());

for await (const opt of optStream) {
if (opt.DebugLoc && opt.DebugLoc.File && opt.DebugLoc.File.includes(this.compileFilename)) {
if (
opt.DebugLoc &&
opt.DebugLoc.File &&
(opt.DebugLoc.File === '<stdin>' || opt.DebugLoc.File.includes(this.compileFilename))
) {
output.push(opt);
}
}
Expand Down

0 comments on commit a360a3f

Please sign in to comment.