diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2013-06-25 00:37:32 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2013-06-25 00:37:32 +0000 |
commit | a26c8149535631d0b691a594a608530d9ba969a2 (patch) | |
tree | becc0c8bc09a7d07815ecb550103407b8f9039ea /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9fcb41d0fa6c4d504f9bd57d47d18e335ab889c4 (diff) | |
download | llvm-a26c8149535631d0b691a594a608530d9ba969a2.zip llvm-a26c8149535631d0b691a594a608530d9ba969a2.tar.gz llvm-a26c8149535631d0b691a594a608530d9ba969a2.tar.bz2 |
Address a few of the issues in GCDAProfiling I noted when looking
through Bill's patch:
1) Correctly test the file descriptor after the sceond attempt at
creating the file.
2) Make the filename a global so that we can issue error messages from
other routines.
3) Check errno in several places and print it out so that errors are
easier to track down.
I don't really expect any of these to fix the current failures I'm
seeing, but I'm hopeful they'll at least let me debug them.
llvm-svn: 184799
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions