[llvm-commits] [llvm] r153558 - /llvm/trunk/runtime/libprofile/GCDAProfiling.c

NAKAMURA Takumi geek4civic at gmail.com
Tue Mar 27 19:22:27 PDT 2012


2012/3/28 Bill Wendling <isanbard at gmail.com>:
> Author: void
> Date: Tue Mar 27 20:30:51 2012
> New Revision: 153558
>
> URL: http://llvm.org/viewvc/llvm-project?rev=153558&view=rev
> Log:
> Use Nakamura's suggestion of bypassing using 'filename' and just the pointers directly.
>
> Modified:
>    llvm/trunk/runtime/libprofile/GCDAProfiling.c
>
> Modified: llvm/trunk/runtime/libprofile/GCDAProfiling.c
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/runtime/libprofile/GCDAProfiling.c?rev=153558&r1=153557&r2=153558&view=diff

>     if (!output_file) {
>       fprintf(stderr, "LLVM profiling runtime: while opening '%s': ",
>               filename);

Would you dare to show only the former failed "filename" here?
Also the latter (derived from orig_filename) ?

...Takumi




More information about the llvm-commits mailing list