bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gprofng/30486] Function name contains "-- no functions found"


From: vladimir.mezentsev at oracle dot com
Subject: [Bug gprofng/30486] Function name contains "-- no functions found"
Date: Wed, 24 May 2023 17:16:09 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=30486

Vladimir Mezentsev <vladimir.mezentsev at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Vladimir Mezentsev <vladimir.mezentsev at oracle dot com> 
---
The bug was fixed in this commit:

commit b5fbb4c2b468bc776ba71e2c4ef692f095e034bd
Author: Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
Date:   Thu May 11 17:30:18 2023 -0700

    gprofng: include a new function in the right place

    Static function name is not available in stripped libraries.
    In this case, gprofng maps PC to a fake function like <static>@0xPC
(<libname>).
    Sometimes gprofng creates two functions instead of one.
    Also FUNC_FLAG_SIMULATED is needed for these fake functions.

    gprofng/ChangeLog
    2023-05-11  Vladimir Mezentsev  <vladimir.mezentsev@oracle.com>

            * src/LoadObject.cc (LoadObject::find_function): Set
FUNC_FLAG_SIMULATED.
            Include a new function in the right place.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]