summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-03-06 18:12:47 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-03-06 18:12:47 +0000
commit5c2a345e4847c3913cccdecfe6429e09d8d2b1a8 (patch)
treea1fde41ae5f89250c116e186d88503d32054d5a5 /llvm/lib/Transforms/IPO
parent61a3896d9fe122dafef192a00a7672315761424f (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud