diff options
author | Justin Bogner <mail@justinbogner.com> | 2014-05-20 22:12:58 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2014-05-20 22:12:58 +0000 |
commit | 1c078f2b1f7420c1445e9cda13acf7d022560db6 (patch) | |
tree | 649dcb89b39ab855e41d69acef3916a2ec875992 /llvm/lib/Object/MachOObjectFile.cpp | |
parent | 38ff5677439dd524b0d8fc9fa9b418feaa92c100 (diff) | |
download | bcm5719-llvm-1c078f2b1f7420c1445e9cda13acf7d022560db6.tar.gz bcm5719-llvm-1c078f2b1f7420c1445e9cda13acf7d022560db6.zip |
VirtualFileSystem: Fix false positives in YAMLVFSWriter::containedIn
Checking if a path starts with another path isn't sufficient for
determining if one is contained within the heirarchy of the other.
We need to ensure that the substring ends at a directory boundary.
llvm-svn: 209250
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions