[all-commits] [llvm/llvm-project] fa5971: [flang][debug] Generate correct name for external ...

Abid Qadeer via All-commits all-commits at lists.llvm.org
Mon Jul 22 10:33:09 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fa5971c298c96c965ba6d8fb855867f23518aad4
      https://github.com/llvm/llvm-project/commit/fa5971c298c96c965ba6d8fb855867f23518aad4
  Author: Abid Qadeer <haqadeer at amd.com>
  Date:   2024-07-22 (Mon, 22 Jul 2024)

  Changed paths:
    M flang/lib/Optimizer/Transforms/AddDebugInfo.cpp
    A flang/test/Transforms/debug-92391.fir

  Log Message:
  -----------
  [flang][debug] Generate correct name for external function. (#99510)

The `ExternalNameConversion` will add an _ at the end of the external
functions. We extract the real function name to use in the debug info.
The convention is to use the real name of function in the `name` field
and mangled name with extra _ at the end in the `linkageName` field.

Fixes #92391.



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