[all-commits] [llvm/llvm-project] c951ed: [LLD][COFF] Identify /GL object files which are in...

pzhengqc via All-commits all-commits at lists.llvm.org
Tue Aug 9 12:32:57 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c951edb7b22e709e50b8ae2ea6bce46f1d7d2741
  Author: Pengxuan Zheng <pzheng at quicinc.com>
  Date:   2022-08-09 (Tue, 09 Aug 2022)

  Changed paths:
    M lld/COFF/Driver.cpp
    A lld/test/COFF/Inputs/cl-gl.lib
    M lld/test/COFF/cl-gl.test

  Log Message:
  [LLD][COFF] Identify /GL object files which are inside libraries

With D26647, we can already identify input object files compiled by cl.exe with
/GL. It seems to be helpful to do the same and print an error message for those
object files compiled with /GL but are inside libraries/archives too.

Reviewed By: rnk, thieta

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

More information about the All-commits mailing list