commit | 057e567f1b375190779e5341f42861896cdee442 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Wed Dec 02 18:12:28 2009 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Wed Dec 02 18:12:28 2009 +0000 |
tree | 4e0cb8a63e2b0400633510ff2db66b22e3d054ad | |
parent | 5ec02ae147760c32ad5b6fb0fec30ab3b3696778 [diff] |
Extend -remap-file=from;to to permit mapping from a non-existent file. This is accomplished by introducing the notion of a "virtual" file into the file manager, which provides a FileEntry* for a named file whose size and modification time are known but which may not exist on disk. Added a cute little test that remaps both a .c file and a .h file it includes to alternative files. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90329 91177308-0d34-0410-b5e6-96231b3b80d8