[all-commits] [llvm/llvm-project] efe017: [LLD] [COFF] Parse all /debug: options, like /opt:...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Fri Dec 15 10:09:37 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: efe017f8f0407c6316bd9d3021481e72b96bb904
      https://github.com/llvm/llvm-project/commit/efe017f8f0407c6316bd9d3021481e72b96bb904
  Author: Martin Storsjö <martin at martin.st>
  Date:   2023-12-15 (Fri, 15 Dec 2023)

  Changed paths:
    M lld/COFF/Driver.cpp
    M lld/test/COFF/debug-dwarf.test
    M lld/test/COFF/symtab.test

  Log Message:
  -----------
  [LLD] [COFF] Parse all /debug: options, like /opt: (#75178)

Most option handling is like it was before; the last /debug: option
takes effect.

However, the options /debug:dwarf or /debug:symtab don't reset all flags
into the specific behaviour they chose before - e.g. if an earlier
option enables writing a PDB, a later /debug:dwarf or /debug:symtab
doesn't disable that. This allows combining these options with options
for controlling PDB writing, for finetuning what is done.




More information about the All-commits mailing list