[all-commits] [llvm/llvm-project] d8166e: [Driver] Refactor /opt/rh detection

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed May 18 12:40:42 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d8166e1900c05429abc726d379bc33281c4c98e4
      https://github.com/llvm/llvm-project/commit/d8166e1900c05429abc726d379bc33281c4c98e4
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-05-18 (Wed, 18 May 2022)

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

  Log Message:
  -----------
  [Driver] Refactor /opt/rh detection

Check /opt/rh first to avoid `/opt/rh/*` newfstatat/etc calls on other
distributions.




More information about the All-commits mailing list