diff options
author | Eike Ziller <eike.ziller@digia.com> | 2013-06-24 17:09:24 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@digia.com> | 2013-06-25 13:41:36 +0200 |
commit | 14cca9e94ea0105af03ad2bfab7b9f3858cffdbd (patch) | |
tree | 157ba25ad8fc6b6774c8279646039af671b7935b /src/plugins/cpptools/cpptoolsplugin.cpp | |
parent | a88599aee24e25316ce8d6cbd5724c628948daee (diff) | |
download | qt-creator-14cca9e94ea0105af03ad2bfab7b9f3858cffdbd.tar.gz |
Workaround for Clang generating wrong debug info
Clang obviously takes PWD as a basis for source paths in debug
information (AT_comp_dir) if it is set. Since the build tools are not
executed in a shell that would set PWD to a sensible value, debug
information with Clang is broken if the build environment got a wrong
PWD to start with, for example by starting Qt Creator from a shell
(which sets PWD).
Workaround is to explicitly unset PWD for the build environment used for
the Clang tool chain.
Task-number: QTCREATORBUG-8825
Change-Id: Ia3e47693121edd61b0ea43bddbb1fcaaac9eb390
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Diffstat (limited to 'src/plugins/cpptools/cpptoolsplugin.cpp')
0 files changed, 0 insertions, 0 deletions