[all-commits] [llvm/llvm-project] 0871c4: [Driver][Solaris] Remove reachable llvm_unreachabl...

Brad Smith via All-commits all-commits at lists.llvm.org
Mon Jan 1 01:31:40 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0871c4beb826feba2d2aaf2c3efbe1fdeba7624a
      https://github.com/llvm/llvm-project/commit/0871c4beb826feba2d2aaf2c3efbe1fdeba7624a
  Author: Brad Smith <brad at comstyle.com>
  Date:   2024-01-01 (Mon, 01 Jan 2024)

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

  Log Message:
  -----------
  [Driver][Solaris] Remove reachable llvm_unreachable (#76645)

Remove the llvm_unreachable from getSolarisLibSuffix(). The code path is
reachable. In the case of an unsupported architecture we're not worrying
about trying to actually find the library paths, and I don't think it
makes sense for the Driver to crash.

Fixes #58334




More information about the All-commits mailing list