From owner-cvs-gnu Fri Mar 10 00:24:19 1995 Return-Path: cvs-gnu-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA09312 for cvs-gnu-outgoing; Fri, 10 Mar 1995 00:24:19 -0800 Received: (from phk@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA09302; Fri, 10 Mar 1995 00:24:10 -0800 Date: Fri, 10 Mar 1995 00:24:10 -0800 From: Poul-Henning Kamp Message-Id: <199503100824.AAA09302@freefall.cdrom.com> To: CVS-commiters, cvs-gnu Subject: cvs commit: src/gnu/usr.bin/cc/cc_int final.c Sender: cvs-gnu-owner@freebsd.org Precedence: bulk phk 95/03/10 00:24:10 Modified: gnu/usr.bin/cc/cc_int final.c Log: Since we are in the gcc bashing mood anyway: Add two changes for basic-block profiling: 1. use a .stabs(25) symbol to link all the data structures together with. The regular method isn't safe for the kernel. 2. add a BB before the prologue and add a BB after the epilogue, this alows us to find the length of any counted BB. This is a cheap and somewhat reasonable measure of actual cost.