diff options
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-03-06 18:12:47 +0000 |
|---|---|---|
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-03-06 18:12:47 +0000 |
| commit | 5c2a345e4847c3913cccdecfe6429e09d8d2b1a8 (patch) | |
| tree | a1fde41ae5f89250c116e186d88503d32054d5a5 /llvm/lib/Transforms/IPO | |
| parent | 61a3896d9fe122dafef192a00a7672315761424f (diff) | |
| download | bcm5719-llvm-5c2a345e4847c3913cccdecfe6429e09d8d2b1a8.tar.gz bcm5719-llvm-5c2a345e4847c3913cccdecfe6429e09d8d2b1a8.zip | |
[PCH] For HeaderFileInfoTrait, hash the key using size & time of the file.
Previously the hash would be the filename portion of the path, which could be
different for a filename with different case or a symbolic link with a different
name completely.
This did not actually create any issue so far because by validating all headers
in the PCH we created uniqued FileEntries based on inodes, so an #include of
a symbolic link (refering to a file from the PCH) would end up with a FileEntry
with filename same as the one recorded in the PCH.
llvm-svn: 176566
Diffstat (limited to 'llvm/lib/Transforms/IPO')
0 files changed, 0 insertions, 0 deletions

