Re: llvm link statistics
Re: llvm link statistics
- Subject: Re: llvm link statistics
- From: Arne Scheffler <email@hidden>
- Date: Thu, 2 Jul 2009 20:00:55 +0200
On Jul 2, 2009, at 6:18 PM, Peter O'Gorman wrote:
Peter O'Gorman wrote:
Arne Scheffler wrote:
Hi,
in the "LLVM-GCC Release Notes" it's stated that "The linker accepts
some command-line options (such as -mllvm) to turn on LTO debugging,
statistics dumping, and so on". Can someone tell me what setting I
need
to do to dump the link statistics ?
I tried to add "-stats" to the "Other Linker flags", but llvm-g+
+-4.2
prints a warning about an unrecognized option "-stats".
It's a linker option, so you need to quote it to hide it from the
compiler.
-Wl,-mllvm,-stats might do something. The linker will see -mllvm -
stats
and pass -stats to libLTO.
Should have tried it before posting.
-mllvm -stats - no -Wl, quoting.
OK, no more warnings, but do you see any output, I don't.
cheers
arne
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden