[all-commits] [llvm/llvm-project] 33f934: [lld][COFF] Add -print-search-paths for debugging.

Tobias Hieta via All-commits all-commits at lists.llvm.org
Thu Jul 13 01:53:31 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 33f93425dd1b8028bf2db43fb23abd0244cd7467
  Author: Tobias Hieta <tobias.hieta at ubisoft.com>
  Date:   2023-07-13 (Thu, 13 Jul 2023)

  Changed paths:
    M lld/COFF/Config.h
    M lld/COFF/Driver.cpp
    M lld/COFF/Options.td
    A lld/test/COFF/print-search-paths.s

  Log Message:
  [lld][COFF] Add -print-search-paths for debugging.

While working on adding more implicit search paths to the
lld COFF driver, it was helpful to have a way to print all
the search paths, both for debugging and for testing without
having to create very complicated test cases.

This is a simple arg that just prints the search paths and exits.

Related to the efforts in #63827

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

More information about the All-commits mailing list