Skip to content

Commit

Permalink
Auto merge of #113492 - nebulark:pr_96475, r=petrochenkov
Browse files Browse the repository at this point in the history
Add CL and CMD into to pdb debug info

Partial fix for rust-lang/rust#96475

The Arg0 and CommandLineArgs of the MCTargetOptions cpp class are not set within https://github.com/rust-lang/rust/blob/bb548f964572f7fe652716f5897d9050a31c936e/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp#L378

This causes LLVM to not  neither output any compiler path (cl) nor the arguments that were used when invoking it (cmd) in the PDB file.

This fix adds the missing information to the target machine so LLVM can use it.
  • Loading branch information
bors committed Sep 8, 2023
2 parents 0a0fd64 + 665f24f commit e3d2ad7
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit e3d2ad7

Please sign in to comment.