[all-commits] [llvm/llvm-project] 67d311: [COFF, Mach-O] Include -mllvm options in thinlto c...

Nico Weber via All-commits all-commits at lists.llvm.org
Mon Nov 14 12:20:27 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 67d311a5fd5065059754098a5d1de6a8566d1fcd
      https://github.com/llvm/llvm-project/commit/67d311a5fd5065059754098a5d1de6a8566d1fcd
  Author: Nico Weber <thakis at chromium.org>
  Date:   2022-11-14 (Mon, 14 Nov 2022)

  Changed paths:
    M lld/COFF/Config.h
    M lld/COFF/Driver.cpp
    M lld/COFF/LTO.cpp
    M lld/ELF/Driver.cpp
    M lld/MachO/Config.h
    M lld/MachO/Driver.cpp
    M lld/MachO/LTO.cpp
    M lld/test/COFF/lto-cache.ll
    M lld/test/ELF/lto/cache.ll
    M lld/test/MachO/lto-cache.ll

  Log Message:
  -----------
  [COFF, Mach-O] Include -mllvm options in thinlto cache key

Like D134013, but for COFF and Mach-O.

Also expand the ELF test a bit. I at first didn't realize that `getValue()` for
`-mllvm -foo=bar` would return `-foo=bar` instead of just `bar`, and so
I wrote the test to check if we indeed get this wrong. We don't, but
having the test for it seems nice, so I'm including it.

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




More information about the All-commits mailing list