[all-commits] [llvm/llvm-project] ab9b2f: [Driver] Define BareMetal::HasNativeLLVMSupport to...

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Feb 23 15:06:15 PST 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ab9b2fe2a5f817f3bbca0d187a99aaae23e75d6a
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-02-23 (Thu, 23 Feb 2023)

  Changed paths:
    M clang/lib/Driver/ToolChains/BareMetal.h
    M clang/test/Driver/native-llvm.c

  Log Message:
  [Driver] Define BareMetal::HasNativeLLVMSupport to return true

D33259 switched the default linker to ld.lld which supports LLVM LTO.
We can support LTO compile/link in one command and drop the
`unable to pass LLVM bit-code files to linker` error.

Fix https://github.com/llvm/llvm-project/issues/52807

More information about the All-commits mailing list