[all-commits] [llvm/llvm-project] df2f9e: [PDB] Don't include input files in the 'cmd' entry...

sylvain-audi via All-commits all-commits at lists.llvm.org
Mon Nov 14 08:31:41 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: df2f9e57f8d1aa858b12aefb89909a7c88c6e0ea
      https://github.com/llvm/llvm-project/commit/df2f9e57f8d1aa858b12aefb89909a7c88c6e0ea
  Author: Sylvain Audi <sylvain.audi at ubisoft.com>
  Date:   2022-11-14 (Mon, 14 Nov 2022)

  Changed paths:
    M lld/COFF/DriverUtils.cpp
    M lld/docs/ReleaseNotes.rst
    M lld/test/COFF/pdb-linker-module.test
    M lld/test/COFF/pdb-relative-source-lines.test

  Log Message:
  -----------
  [PDB] Don't include input files in the 'cmd' entry of S_ENVBLOCK

MSVC records the command line arguments in S_ENVBLOCK, skipping the input file arguments.
This patch adds this filtering on lld-link side.

Differential Revision: https://reviews.llvm.org/D137723




More information about the All-commits mailing list