[all-commits] [llvm/llvm-project] 605101: ForceFunctionAttrs: Avoid report_fatal_error

Matt Arsenault via All-commits all-commits at lists.llvm.org
Sun May 11 14:09:24 PDT 2025


  Branch: refs/heads/users/arsenm/force-function-attrs/use-reportFatalUsageError
  Home:   https://github.com/llvm/llvm-project
  Commit: 6051017294763a9116786ffb21dba32126ae8874
      https://github.com/llvm/llvm-project/commit/6051017294763a9116786ffb21dba32126ae8874
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-05-11 (Sun, 11 May 2025)

  Changed paths:
    M llvm/lib/Transforms/IPO/ForceFunctionAttrs.cpp
    A llvm/test/Transforms/ForcedFunctionAttrs/open-file-error.ll

  Log Message:
  -----------
  ForceFunctionAttrs: Avoid report_fatal_error

Report error in context with the error code. Also add
a missing test for the failure.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list