aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-02-02 22:30:17 +0000
committerDouglas Gregor <dgregor@apple.com>2011-02-02 22:30:17 +0000
commit3c0d263abb7469f63c03df6ab21bfb5785457401 (patch)
tree1c0ad8f0f34b71ae8f8bd7595ba52db24f68d54f /clang/lib/CodeGen/CodeGenModule.cpp
parente3773c2f511e1c2deb2f1128a14e98b386ca47c4 (diff)
downloadllvm-3c0d263abb7469f63c03df6ab21bfb5785457401.zip
llvm-3c0d263abb7469f63c03df6ab21bfb5785457401.tar.gz
llvm-3c0d263abb7469f63c03df6ab21bfb5785457401.tar.bz2
Canonicalize path names in the file manager before performing a lookup
on that name. Canonicalization eliminates silliness such as "." and "foo/.." that breaks the uniquing of files in the presence of virtual files or files whose inode numbers have changed during parsing/re-parsing. c-index-test isn't able to create this crazy situation, so I've resorted to testing outside of the Clang tree. Fixes <rdar://problem/8928220>. Note that this hackery will go away once we have a real virtual file system on which we can layer FileManager; the virtual-files hack is showing cracks. llvm-svn: 124754
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions