[LLVMbugs] [Bug 3847] excessive amount of startup time is spent in ld

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Mar 19 22:34:15 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=3847


Daniel Dunbar <daniel at zuster.org> changed:

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




--- Comment #1 from Daniel Dunbar <daniel at zuster.org>  2009-03-20 00:34:13 ---
Ok, apparently this is just general C++ lameness on Linux. Gross.

The mind boggles:
--
ddunbar at frank:tmp$ cat t.c
int main() { return 0; }
ddunbar at frank:tmp$ gcc t.c && valgrind --tool=callgrind ./a.out
==22836== Callgrind, a call-graph generating cache profiler.
==22836== Copyright (C) 2002-2008, and GNU GPL'd, by Josef Weidendorfer et al.
==22836== Using LibVEX rev 1884, a library for dynamic binary translation.
==22836== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP.
==22836== Using valgrind-3.4.1-Debian, a dynamic binary instrumentation
framework.
==22836== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al.
==22836== For more details, rerun with: -v
==22836== 
==22836== For interactive control, run 'callgrind_control -h'.
==22836== 
==22836== Events    : Ir
==22836== Collected : 125977
==22836== 
==22836== I   refs:      125,977

ddunbar at frank:tmp$ g++ t.c && valgrind --tool=callgrind ./a.out
==22845== Callgrind, a call-graph generating cache profiler.
==22845== Copyright (C) 2002-2008, and GNU GPL'd, by Josef Weidendorfer et al.
==22845== Using LibVEX rev 1884, a library for dynamic binary translation.
==22845== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP.
==22845== Using valgrind-3.4.1-Debian, a dynamic binary instrumentation
framework.
==22845== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al.
==22845== For more details, rerun with: -v
==22845== 
==22845== For interactive control, run 'callgrind_control -h'.
==22845== 
==22845== Events    : Ir
==22845== Collected : 1369136
==22845== 
==22845== I   refs:      1,369,136
--


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list