[all-commits] [llvm/llvm-project] 8a02b7: [llvm-exegesis] Refactor ExecutableFunction to use...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Fri Nov 24 02:15:48 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8a02b70324f03967a6697c782d2b2436d1e1bac2
      https://github.com/llvm/llvm-project/commit/8a02b70324f03967a6697c782d2b2436d1e1bac2
  Author: Aiden Grossman <agrossman154 at yahoo.com>
  Date:   2023-11-24 (Fri, 24 Nov 2023)

  Changed paths:
    M llvm/tools/llvm-exegesis/lib/Assembler.cpp
    M llvm/tools/llvm-exegesis/lib/Assembler.h
    M llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
    M llvm/unittests/tools/llvm-exegesis/Common/AssemblerUtils.h

  Log Message:
  -----------
  [llvm-exegesis] Refactor ExecutableFunction to use a named constructor (#72837)

This patch refactors ExecutableFunction to use a named constructor
pattern, namely adding the create function, so that errors occurring
during the creation of an ExecutableFunction can be propogated back up
rather than having to deal with them in report_fatal_error.




More information about the All-commits mailing list