[all-commits] [llvm/llvm-project] 4ecdf5: [AIX][ifunc] fix error message creation logic (mis...

Wael Yehia via All-commits all-commits at lists.llvm.org
Tue Apr 7 10:03:19 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ecdf5eed42578b55c0feb7a8fb0d34f44cbbc1c
      https://github.com/llvm/llvm-project/commit/4ecdf5eed42578b55c0feb7a8fb0d34f44cbbc1c
  Author: Wael Yehia <wmyehia2001 at yahoo.com>
  Date:   2026-04-07 (Tue, 07 Apr 2026)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp

  Log Message:
  -----------
  [AIX][ifunc] fix error message creation logic (misbehaves in production builds) (#188060)

I don't know why the old code was causing the function name to come out
empty in the message, in certain builds of llvm.
It's either a misuse[1] of the Twine class, or a bug somewhere else.
So this PR rewrites the logic by building the message into a
SmallString<128>. This logic is part of error handling, so optimizing it
is not important.

[1] I checked the usage and couldn't find anything suspicious

Co-authored-by: Wael Yehia <wyehia at ca.ibm.com>



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