|
From: <sv...@va...> - 2006-04-02 15:54:10
|
Author: sewardj
Date: 2006-04-02 16:53:59 +0100 (Sun, 02 Apr 2006)
New Revision: 5814
Log:
Fix ppc64-linux breakage - get the function entry address, not the
descriptor address.
Modified:
trunk/callgrind/main.c
Modified: trunk/callgrind/main.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/callgrind/main.c 2006-04-02 02:59:35 UTC (rev 5813)
+++ trunk/callgrind/main.c 2006-04-02 15:53:59 UTC (rev 5814)
@@ -564,7 +564,9 @@
// helper call to setup_bbcc, with pointer to basic block info struct=
as argument
arg1 =3D mkIRExpr_HWord( (HWord)bb );
argv =3D mkIRExprVec_1(arg1);
- di =3D unsafeIRDirty_0_N( 1, "setup_bbcc", & CLG_(setup_bbcc), argv);
+ di =3D unsafeIRDirty_0_N( 1, "setup_bbcc",=20
+ VG_(fnptr_to_fnentry)( & CLG_(setup_bbcc) =
),=20
+ argv);
addStmtToIRBB( bbOut, IRStmt_Dirty(di) );
=20
instrCount =3D 0;
|