diff options
author | Vedant Kumar <vsk@apple.com> | 2018-09-20 23:56:39 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2018-09-20 23:56:39 +0000 |
commit | f853c6e074918fce74b46b3f02fddf8ec7bf8a58 (patch) | |
tree | 04d99a6f7faa00be34d03aee6aab5b0e4fc33344 /llvm/lib/CodeGen/MachineCopyPropagation.cpp | |
parent | 0744d3c5a1dd6407f6f939f3893fa4165918cb42 (diff) | |
download | bcm5719-llvm-f853c6e074918fce74b46b3f02fddf8ec7bf8a58.tar.gz bcm5719-llvm-f853c6e074918fce74b46b3f02fddf8ec7bf8a58.zip |
[lldbtest] Fix self.filecheck check file lookup
The 'test_filename' property in TestBase changes over time, so
attempting to find a check file relative to the directory containing
'test_filename' is flaky.
Use the absolute path of the check file as that's always correct (and
simpler). This relies on the test driver changing into the test
directory, which it seems we can safely assume.
As a drive-by, make self.filecheck respect the trace (-t) option.
llvm-svn: 342699
Diffstat (limited to 'llvm/lib/CodeGen/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions