[all-commits] [llvm/llvm-project] 3caa32: [Driver] Use Component in OpenBSD::getCompilerRT t...

Greg Steuck via All-commits all-commits at lists.llvm.org
Sun Jun 26 12:12:38 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3caa32b26f5a1d4f2e3c9c3f1540a30fe06abe38
      https://github.com/llvm/llvm-project/commit/3caa32b26f5a1d4f2e3c9c3f1540a30fe06abe38
  Author: Greg Steuck <gnezdo at openbsd.org>
  Date:   2022-06-26 (Sun, 26 Jun 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/OpenBSD.cpp

  Log Message:
  -----------
  [Driver] Use Component in OpenBSD::getCompilerRT to find libraries

Clang uses runtime libraries for some advanced features like
sanitizers. Different systems have different preferences about file
placement. OpenBSD with this change will use this name for ASan:
/usr/lib/clang/15.0.0/lib/libclang_rt.asan.a

Already committed to OpenBSD repository then amended to cover the
case of development tree.

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




More information about the All-commits mailing list