summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/inline-asm-R-constraint.ll
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-07-05 14:53:17 +0000
committerSimon Marchi <simon.marchi@ericsson.com>2018-07-05 14:53:17 +0000
commit83953233920a51047263fa2735be21864516687b (patch)
tree347bbbea6938270b1b94e312f8838007c6d438bb /llvm/test/CodeGen/X86/inline-asm-R-constraint.ll
parent0dc92f6a740adc8f7c61b4884614534cd6351b89 (diff)
downloadbcm5719-llvm-83953233920a51047263fa2735be21864516687b.tar.gz
bcm5719-llvm-83953233920a51047263fa2735be21864516687b.zip
[clang-move] ClangMoveTests: Remove dots in output paths
Summary: Following D48903 ([VirtualFileSystem] InMemoryFileSystem::status: Return a Status with the requested name), the paths output by clang-move in the FileToReplacements map may contain leading "./". For example, where we would get "foo.h", we'll now get "./foo.h". This breaks the tests, because we are doing exact string lookups in the FileToFileID and Results maps (they contain "foo.h", but we search for "./foo.h"). To mitigate this, try to normalize a little bit the paths output by clang-move to remove that leading "./". This patch should be safe to merge before D48903, remove_dots will just be a no-op. Reviewers: ilya-biryukov, hokein Reviewed By: hokein Subscribers: ioeric, cfe-commits Differential Revision: https://reviews.llvm.org/D48951 llvm-svn: 336358
Diffstat (limited to 'llvm/test/CodeGen/X86/inline-asm-R-constraint.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud