[all-commits] [llvm/llvm-project] 38be8f: Add llvm-tli-checker

Paul T Robinson via All-commits all-commits at lists.llvm.org
Mon Nov 8 16:30:02 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 38be8f4057c1bf19fd02d08d6116e28983a49d8d
      https://github.com/llvm/llvm-project/commit/38be8f4057c1bf19fd02d08d6116e28983a49d8d
  Author: Paul Robinson <paul.robinson at sony.com>
  Date:   2021-11-08 (Mon, 08 Nov 2021)

  Changed paths:
    M llvm/docs/CommandGuide/index.rst
    A llvm/docs/CommandGuide/llvm-tli-checker.rst
    A llvm/test/tools/llvm-tli-checker/Inputs/ps4-tli-check.right.so
    A llvm/test/tools/llvm-tli-checker/Inputs/ps4-tli-check.wrong.so
    A llvm/test/tools/llvm-tli-checker/ps4-tli-check.s
    A llvm/tools/llvm-tli-checker/CMakeLists.txt
    A llvm/tools/llvm-tli-checker/Opts.td
    A llvm/tools/llvm-tli-checker/llvm-tli-checker.cpp

  Log Message:
  -----------
  Add llvm-tli-checker

A new tool that compares TargetLibraryInfo's opinion of the availability
of library function calls against the functions actually exported by a
specified set of libraries. Can be helpful in verifying the correctness
of TLI for a given target, and avoid mishaps such as had to be addressed
in D107509 and 94b4598d.

The tool currently supports ELF object files only, although it's unlikely
to be hard to add support for other formats.

Re-commits 62dd488 with changes to use pre-generated objects, as not all
bots have ld.lld available.

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




More information about the All-commits mailing list