diff options
author | Pierre Gousseau <pierregousseau14@gmail.com> | 2016-07-13 11:58:28 +0000 |
---|---|---|
committer | Pierre Gousseau <pierregousseau14@gmail.com> | 2016-07-13 11:58:28 +0000 |
commit | 6b2fcef271fe8379d8e60d714af4b0eddce8ded4 (patch) | |
tree | 14c47766e9da2f63862989e00c01093b6550d519 /lldb/packages/Python/lldbsuite/test/expression_command/call-function | |
parent | 1ee89eb8d9cbee88595c6715c53bd74983722048 (diff) | |
download | bcm5719-llvm-6b2fcef271fe8379d8e60d714af4b0eddce8ded4.tar.gz bcm5719-llvm-6b2fcef271fe8379d8e60d714af4b0eddce8ded4.zip |
[PCH] Fix timestamp check on windows hosts.
On Linux, if the timestamp of a header file, included in the pch, is modified, then including the pch without regenerating it causes a fatal error, which is reasonable.
On Windows the check is ifdefed out, allowing the compilation to continue in a broken state.
The root of the broken state is that, if timestamps dont match, the preprocessor will reparse a header without discarding the pch data.
This leads to "#pragma once" header to be included twice.
The reason behind the ifdefing of the check lacks documentation, and was done 6 years ago.
This change tentatively removes the ifdefing.
First part of patch proposed at:
Differential Revision: http://reviews.llvm.org/D20867
llvm-svn: 275261
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function')
0 files changed, 0 insertions, 0 deletions