[all-commits] [llvm/llvm-project] 9db61c: [LLD][COFF] Convert file name to lowercase when in...

pzhengqc via All-commits all-commits at lists.llvm.org
Wed Jun 15 09:39:55 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9db61c3fe18aa5b717765745fd3287660fad571d
  Author: Pengxuan Zheng <pzheng at quicinc.com>
  Date:   2022-06-15 (Wed, 15 Jun 2022)

  Changed paths:
    M lld/COFF/Driver.cpp
    A lld/test/COFF/visitedlibs.test

  Log Message:
  [LLD][COFF] Convert file name to lowercase when inserting it into visitedLibs

It seems to be a bug in `LinkerDriver::findFile`, the file name is not converted
to lowercase when being inserted into `visitedLibs`. This is the only exception
in the file and all other places always convert file names to lowercase when
inserting them into `visitedLibs` (or `visitedFiles`).

Reviewed By: thieta, hans

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

More information about the All-commits mailing list