diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-03-26 22:47:50 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-03-26 22:47:50 +0000 |
commit | 5aa82397e8394e44d11b5347a147ac1eadc883d9 (patch) | |
tree | 774bf2c403dd3d77ea3068cfc8a3a9fa8be2297f /llvm/lib/Support/Program.cpp | |
parent | 03f9ad0e6763482e1abe6c2c03a2d58a6353489e (diff) | |
download | llvm-5aa82397e8394e44d11b5347a147ac1eadc883d9.zip llvm-5aa82397e8394e44d11b5347a147ac1eadc883d9.tar.gz llvm-5aa82397e8394e44d11b5347a147ac1eadc883d9.tar.bz2 |
Use the full path when outputting the `.gcda' file.
If we compile a single source program, the `.gcda' file will be generated where
the program was executed. This isn't desirable, because that place may be at an
unpredictable place (the program could call `chdir' for instance).
Instead, we will output the `.gcda' file in the same place we output the `.gcno'
file. I.e., the directory where the executable was generated. This matches GCC's
behavior.
<rdar://problem/13061072> & PR11809
llvm-svn: 178084
Diffstat (limited to 'llvm/lib/Support/Program.cpp')
0 files changed, 0 insertions, 0 deletions