This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/18707] New: [aarch64] libc profiling (with --enable-profile) is broken
- From: "nszabolcs at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 22 Jul 2015 14:58:15 +0000
- Subject: [Bug libc/18707] New: [aarch64] libc profiling (with --enable-profile) is broken
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=18707
Bug ID: 18707
Summary: [aarch64] libc profiling (with --enable-profile) is
broken
Product: glibc
Version: 2.21
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: nszabolcs at gmail dot com
CC: drepper.fsp at gmail dot com
Target Milestone: ---
The CALL_MCOUNT macro (sysdeps/aarch64/sysdep.h) used in glibc internal asm
files does not save/restore argument registers of the instrumented function.
(In the aarch64 profiling ABI the compiler knows about the inserted mcount call
and does the necessary register spills, but that does not happen in the asm
functions.)
Only broken when the libc itself is profiled.
--
You are receiving this mail because:
You are on the CC list for the bug.