[all-commits] [llvm/llvm-project] 1428f8: [ms] llvm-lib gives a more useful error if no inpu...

Eric Astor via All-commits all-commits at lists.llvm.org
Fri May 1 04:44:26 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1428f86cf9863255adac92e82ae459331123a502
      https://github.com/llvm/llvm-project/commit/1428f86cf9863255adac92e82ae459331123a502
  Author: Eric Astor <epastor at google.com>
  Date:   2020-05-01 (Fri, 01 May 2020)

  Changed paths:
    M llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp

  Log Message:
  -----------
  [ms] llvm-lib gives a more useful error if no inputs and no output path are provided

Summary:
If no inputs and no output path are provided, llvm-lib should produce a useful error.

Before this, it would fail by reading from an unitialized StringRef.

Reviewed By: vvereschaka

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




More information about the All-commits mailing list