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 | 39c41c3c93e0d223792acb093adce21a714b01c6 (patch) | |
| tree | bad7c784938f5021b2751ab1897d9d9300e6caaa /lib/CodeGen/CodePlacementOpt.cpp | |
| parent | f8fd883fd368316ad3738dad6c15b1b8f3850f88 (diff) | |
| download | llvm-39c41c3c93e0d223792acb093adce21a714b01c6.tar.gz llvm-39c41c3c93e0d223792acb093adce21a714b01c6.tar.bz2 llvm-39c41c3c93e0d223792acb093adce21a714b01c6.tar.xz | |
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178084 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodePlacementOpt.cpp')
0 files changed, 0 insertions, 0 deletions
